At the time the kingdom saw a rebellion of the barons (fomented by Pope Urban VI), and there was a risk of a French invasion, since in 1385 the pope had assigned the throne to Louis II of Anjou, Count of Provence, then head of the junior Angevin line.