فرناندو الثالث ملك قشتالة
In 1225, King Ferdinand III of Castile and Leon captured the city from the Moors and incorporated it into his kingdom.