Lordship of Valencia

Towards the beginning of November 1092, the Campeador besieged the fortress, currently in the municipality of El Puig, fourteen kilometres from Valencia, surrendering it in mid-1093.

[5] The Almoravid pressure did not relent and in mid-September of that same year an army under the command of Muhammad ibn Tashfin, nephew of Emir Yusuf, reached Quart de Poblet, five kilometers from the capital, and besieged it,[6] but was defeated after the Battle of Cuarte,[7] which took place on October 21, 1094 between the towns of Mislata and Quart de Poblet, near the city.

[12] In 1097 a new Almoravid incursion led again by Muhammad ibn Tashfin attempted to recover Valencia, but he was defeated again by El Cid with the collaboration of the army of Peter I of Aragon at the battle of Bairén,[13] near Gandia.

[18] In the diploma of endowment of the cathedral of the end of 1098 Rodrigo presents himself as «princeps Rodericus Campidoctor», considering himself an autonomous sovereign despite not having royal ancestry, and the Battle of Cuarte is referred to as "a victory achieved quickly and without casualties over an enormous number of Muslims".

The year of his death (1099) he had married his daughters to high dignitaries: Cristina with the infant Ramiro Sánchez of Pamplona[20] and María with the Count of Barcelona Ramon Berenguer III.

Map of the Iberian Peninsula at the end of the 11th century, with the Lordship of El Cid
The endowment diploma of the Valencia Cathedral , signed by Rodrigo Díaz