Ponce de Cabrera. There is no record of Ramiro holding Astorga after 20 September 1168. He was an old man when he died. Sometime before 1162 Ramiro was also co-tenant with Ponce at Villafranca del Bierzo. Probably for nearly his entire adult life Ramiro governed Villabuena; there are records of his tenancy there between 1128 and 1166. He also governed Cifuentes for more than twenty years and Riba de Esla for more than a decade. Among the tenencias Ramiro governed only briefly—such that no more than one record of his lordship there survives—are Alba de Gordón, Avedillo de Sanabria, Ferreras, Molinaseca, Monteagudo, Oteros, Peñamián, Robledo, Tibres, and Trigueros. Among the tenencias which Ramiro governed later in his career (the last decade of the reign of Alfonso VII and the first of Ferdinand II) are found Argüello, Boñar, Caldelas, Casayo, Gordón, Villafranca, and Villarmildo. Military campaigns Jerónimo Zurita places Ramiro at the side of Alfonso VII in Zaragoza in 1134 during the campaign of harassment against García Ramírez of Navarre. In the summer of 1139 Ramiro was present at the long Siege of Oreja. In 1140 Ramiro went to war with Afonso Henriques, king of neighbouring Portugal, but was defeated and captured. There is no documentary evidence that he had gone with Alfonso into Portugal in 1137, but the Chronica Adefonsi (I, §82) narrates an episode involving him that occurred on the 1137 campaign: The King of Portugal likewise mobilized his army and marched out to fight the few men who had foolishly been separated from the Emperor's main force. The Portuguese confronted Count Ramiro who was attempting to conquer their land. They joined in battle, and Ramiro was defeated and taken prisoner. After the Battle of Valdevez the Portuguese and the Leonese came to terms, captured castles were surrendered and "Count Ramiro was released, and all the knights who had been captured on either side were given their freedom." The capture of Ramiro is not mentioned in the Crónica de Dom Afonso Henriques. Briefly in 1147 Ramiro was stripped of the Bierzo, which was given to Sancha Raimúndez, the king's sister, but he was soon restored to it and continued to rule it until at least June 1169, probably until his death some short time later. This perhaps corresponded to Ramiro's absence on the campaign against Almería that year. Although the Poema de Almería records his presence at the siege