An illegitimate daughter of King Alfonso VII and his mistress Gontrodo Pérez, Urraca was born in 1133 in Pelúgano, one year after her parents had a relationship while the king was still married to Berengaria of Barcelona and coinciding with the rebellion of Count Gonzalo Peláez, and one year before the birth of the legitimate heir, Sancho, born in 1134. Her maternal grandparents were members of the highest ranks of the Asturian nobility, her maternal grandfather, Pedro Díaz de Valle, being a descendant of several counts and his wife, María Ordóñez, a direct descendant of the Infantes Ordoño Ramírez and his wife Cristina Bermúdez. Her mother Gontrodo separated from Alfonso and joined a convent a year after Urraca's birth, and Urraca was raised in the court by her paternal aunt, InfantaSancha Raimúndez.
Urraca was first married in León on 24 June 1144 to García Ramírez of Navarre. This was a second marriage for Garcia as his first troubled marriage to Marguerite de l'Aigle had ended with her death just a month before Garcia's second marriage to Urraca that was arranged to strengthen Garcia's relationship with his overlord, Urraca's father. The couple were married for only six years before Garcia's death on 21 November 1150. Garcia was succeeded by his son with Marguerite de l'Aigle, Sancho VI of Navarre. Urraca's half-sister Sancha married Sancho and succeeded her as queen consort of Navarre.
Regent of Asturias and second marriage
The queen dowager Urraca returned to her homeland after her husband Garcia's death in 1150, being sent by her father to govern Asturias. In Oviedo, Urraca took up residence in the Palace of Alfonso II of Asturias, which was next to the Cathedral of Oviedo. Her father gave her properties, including the lordship of Aller. Queen Urraca ruled Asturias from 1153 until 1165; she even retained power after the death of her father in 1157. Sometime before 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 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.
Issue
From her first marriage to King García Ramiréz was born:
Only one son was born of her second marriage to Álvaro Rodríguez de Castro:
Sancho Álvarez de Castro who appears on 23 July 1196 at the Monastery of San Pelayo in Oviedo as Dominante Asturias Sancius Alvari filius regina Urrace (Governing Asturias Sancho Álvarez, son of Queen Urraca.