Answer
El Cid ruled over the Taifa of Valencia for 5 years, from 1094 to 1099. He was able to take control of the city after a long and bloody battle with the Almoravids, who had previously ruled over the region. El Cid's rule was a time of peace and prosperity for Valencia, and he is remembered as one of the city's most important historical figures.