1163, Urraca remarried to Álvaro Rodríguez de Castro, son of Rodrigo Fernández de Castro and Elo Álvarez. Álvaro was seigneur of Chantada and governor of Asturias between 1150 and 1171, of Sarria, and of the towers of León, as well as the alférez of King Fernando II and later his mayordomo mayor. A charter from the Monastery of San Vicente de Oviedo in 1163 is dated: Alvaro Roderici cum uxore sua regina Urraca Asturias imperante ("Alvaro Rodríguez with his wife Urraca governing Asturias") and another charter from 1165 from the Monastery of San Salvador in Celorio also mentions that Queen Urraca was governing Asturias with her husband Álvaro. Urraca and Álvaro were involved in an uprising to secure the independence of Asturias as attested in a charter from the Monastery of Santa María de Otero de las Dueñas which mentions "...when Queen doña Urraca and don Álvaro Roderici wanted King Fernando II to lose Asturias". In the early months of 1164, King Fernando II thanked the Bishop of Oviedo for the aid provided to quash the uprising in Asturias. This period was highlighted by their generosity with the Church in Asturias, to which they made numerous donations, notably those at the Cathedral of Oviedo, as well as those made to the monastery of San Pelayo de Oviedo. Urraca collaborated with her mother in founding the monastery of Santa María de la Vega in the outskirts of Oviedo where Gontrodo was eventually buried in a tomb the marker of which is currently preserved in the Archaeological Museum of the Asturias. Death Urraca died at Palencia sometime after 1164 but the exact date of her death is unknown. Some chroniclers placed her death on October 26, 1164, but this is impossible, since she appeared with her second husband in 1165 in a charter in the Monastery of San Salvador de Celorio, and then again on 25 February 1178 at the Monastery of Santa María de Sandoval when she made a donation and asked to be buried there. Although other sources place her death in 1189, according to the Anales toledanos she died in 1179. Queen Urraca was finally buried in the chapel of Santa María Magdalena in the Cathedral of Palencia. The reason could have been the fact that members of the House of Castro, of which her second husband was a member, had governed several places, including the city of Palencia.