El Cid gradually came to have more influence in Valencia, then ruled by Yahya al-Qadir, of the Hawwara Berber Dhulnunid dynasty. In October 1092 an uprising occurred in Valencia, inspired by the city's chief judge Ibn Jahhaf and the Almoravids. El Cid began a siege of Valencia. A December 1093 attempt to break the siege failed. By the time the siege ended in May 1094, El Cid had carved out his own principality on the coast of the Mediterranean. Officially, El Cid ruled in the name of Alfonso; in practice, El Cid was fully independent. The city was both Christian and Muslim, and both Moors and Christians served in the army and as administrators. Jerome of Périgord was made bishop.
el cid gradually came to have more influence in valencia then ruled by yahya al-qadir of the hawwara berber dhulnunid dynasty in october 1092 an uprising occurred in valencia inspired by the city's chief judge ibn jahhaf and the almoravids el cid began a siege of valencia a december 1093 attempt to break the siege failed by the time the siege ended in may 1094 el cid had carved out his own principality on the coast of the mediterranean officially el cid ruled in the name of alfonso; in practice el cid was fully independent the city was both christian and muslim and both moors and christians served in the army and as administrators jerome of périgord was made bishop