Alfonso IX of León
Nevertheless, the hostilities between both kingdoms ceased in 1197 after the marriage of Alfonso IX of León and Berengaria of Castile since Berengaria's dowry included several castles that her husband had claimed from Castile.