Aurembiaix

In 1206, Ermengol asked Peter II of Aragon to defend the right of his daughter to inherit and his widow to have the regency.

However, after Peter's death (1213), Guerau IV of Cabrera, a first cousin of Aurembiaix's who claimed the inheritance, invaded the county and took control.

Aurembiaix married Álvaro Pérez de Castro in 1212, but in 1228 she had the marriage annulled and returned to Urgell to claim her right to succeed.

[2] Threatened with invasion and a possible marital alliance with Aragon, the nobles of Urgell accepted Aurembiaix as their ruler.

In 1229, Aurembiaix in turn married Peter, exiled brother of Afonso II of Portugal, and rendered Lleida to James and accepting Urgell back from him as a fief.