The two armies met just outside Almenar. The battle took place in the spring or summer of 1082. The
Carmen Campi Doctoris, a poem in praise of El Cid, has a long description of El Cid arming himself for battle, but the text has been damaged and the description of the battle itself is lost. In the
Carmen, Almenar is the third fight of El Cid's career, after his combat with the anonymous
Navarrese champion and his conflict with
García Ordóñez. The battle began with frontal charges and quickly devolved into a rout of the besiegers. Berenguer Ramon was captured, while Mundhir fled the field. Perhaps because Mundhir and the Lleidans quickly abandoned the field, command seems to have devolved to Berenguer Ramon. According to the
Historia Roderici, the number of killed and captured was enormous. The captives were taken to al-Muʾtamin at Tamarite. They were released five days later. Although later Castilian historiography claims that al-Muʾtamin acted on the urging of El Cid, the
Historia Roderici mention no such thing. It is more likely that the captives agreed to pay a large ransom or to sign a peace treaty. The victorious army was received in celebratory fashion by the population of Zaragoza. Al-Muʾtamin rewarded El Cid with gold, silver and jewels and he was regarded thereafter as second-in-command in the
taifa. The
Carmen Campi Doctoris was probably written shortly after the battle by a monk of
Santa Maria de Ripoll, which lay within the territory of Ramon Berenguer II. It is thus a celebration of the defeat of Berenguer Ramon II. Almenar was conquered by the Aragonese in 1093. ==Notes==