Alfonso IX of León
King Fernando died in Benavente on 22 January 1188 and was succeeded by his first-born, Alfonso IX of León after which, Urraca had to seek refuge in the Castile ruled by her former husband's nephew, Alfonso VIII, entrusting the protection of her holdings in León to her brother Diego López II de Haro. Nevertheless, Alfonso IX of León, concerned about the power of the Haro family, reached an agreement with King Alfonso VIII of Castile and attacked the fortresses owned by Urraca in the Kingdom of León.