He is the subject of an epic poem
"El Cantar de Mio Cid", often known as "The Poem of My Lord," is the earliest extant epic poem to originate from Spain and tells the tale that made Rodrigo famous as the legendary El Cid. El Cid's life. The narrative starts with El Cid's banishment after being falsely accused of stealing money from King Alfonso VI of Castile and León by his adversaries. El Cid's exile from Spain is where the narrative begins, almost halfway through. To restore his name, he sets out to conquer the Arabian regions close to Spain with little more than a devoted crew. He took part in the wars with the Moorish troops and took Valencia to reclaim his dignity.
By performing these brave deeds, he eventually gains enough territory to win back the Spanish king's favor and restored his honor. The infants (princes) of Carrión are married to the daughters of El Cid by the monarch himself. However, the infants promise vengeance after El Cid's troops disgrace the princes for being cowards. They abuse their brand new spouses and abandon them for dead. El Cid asks the monarch for justice after learning about this. El Cid's dowry must be returned by the infants. When the princes lose their trial by fight, they forfeit all of their wealth, influence, and possessions. The daughters of El Cid wed various other rulers and lived contentedly ever after. The crown princes of Navarre and Aragon are then the new husbands of El Cid's two daughters. El Cid started the process of uniting Spain by marrying off his daughters.