At the same time, a succession crisis continued in the County of Urgell. When Álvaro of Urgell died in 1268, the families of his two wives, Constance, a daughter of Pedro Moncada of Béarn, and Cecilia, a daughter of Roger-Bernard II of Foix, began a long fight over the inheritance of his county. Meanwhile, a good portion of the county had been repossessed by Peter's father, James I, and was thus inherited by Peter in 1276. In 1278, Ermengol X, Álvaro's eldest son, succeeded in recovering most of his lost patrimony and came to an agreement with Peter whereby he recognised the latter as his suzerain.