Peláez as his merino. He held it at least until 5 March 1129. The next lord of the place, Ponce de Cabrera, is not mentioned until 13 May 1138. At Ulver Ramiro remained until at least 27 October 1128, when Ponce appears as holding it and entrusting it to a merino, Pelayo Peláez. By July 1133 Ramiro had regained Ulver and held it until 26 February 1169 and probably until his death. Between 1133 and 1155 he entrusted it to his vassal Fernando Peláez. Sometime before 15 January 1128 (perhaps as early as 1123) Ramiro received the rule of the entire Bierzo. By 25 August 1131 Ramiro was the military governor of nearby Astorga in charge of its castle and walls. In 1137 he was entrusted with the fief of Aguilar, which had recently been confiscated from the mysteriously disgraced Osorio Martínez. Nuño Pérez, the castellan of the castle at Aguilar, for reasons unknown, rebelled against Ramiro, but was defeated by 2 December. Later Alfonso VII raised Ramiro to the rank of count, a title he first carried in a charter for the Diocese of Sigüenza dated 14 September 1138. By May 1139 Osorio had regained Aguilar, where he continued down to at least December 1140. Thereafter it returned to Ramiro to govern until at least December 1166. From at least 18 May 1126 until as late as 22 June 1165 Ramiro was governing Valdeorras. There, on 13 September 1139, he heard a property dispute, an account of which has been preserved in the tumbo of San Pedro de Montes. The dispute occurred between the monastery of San Pedro and Mayor Sánchez and her sons concerning an estate at a place called Villa. While Mayor claimed to have purchased the land from its previous holder, Pedro Peláez, the monastery claimed that it was a pious donation. Ramiro, with some leading men of Valdeorras, both clergy and laity, arbitrating the dispute until the monks agreed to pay 160 solidi to Mayor in return for her renunciation of any rights to the estate. Ramiro was ruling the city of León, where he owned houses and a palace (palacio), between 11 April 1141 and 4 July 1144. On 31 December 1156 Ramiro and Elo donated some houses they owned in León to the monastery of , a daughter house of Fontevraud. In 1154/5 Ramiro's authority over the city of Astorga was shared with