熙德
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 reality, 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.