 A settlement was effected at the Cortes of Leiria (1254), which the bishop refused to ratify, but he had to give way.When King Afonso III determined (1265) that all rights and properties usurped during the disorders of Sancho's reign should revert to the Crown, nearly all the bishops, including the Bishop of Porto, then D. Vicente, protested; and seven went to Rome for relief, leaving Portugal under an interdict.When the king was dying, in 1278, he promised restitution.