Raymond married Urraca, the eldest legitimate daughter of Alfonso VI of León and Castile of the House of Jiménez.
There, Odo arranged the marriage of king's first daughter, Urraca, to Raymond in 1087; the couple received the county of Galicia as dowry.
[2] In 1093 Alfonso VI married an illegitimate daughter Teresa to Henry and gave them the county of Portugal, which evolved to a kingdom.
The couple proved incompatible, and following Alfonso VI's death in 1109, Urraca reigned as queen while resisting efforts by both her husband and her son by Raymond to take the crown.
The king preferred Ferdinand's sons, but the nobility supported Sancho and a civil war began.