Kingdom of Castile
In 1217, Berengaria's brother Ferdinand III had inherited the throne of the Kingdom of Castile through abdication of their mother.