After conquering Jaén and Córdoba, he seized the villages surrounding the city, Carmona Lora del Rio and Alcalá del Rio, and kept a standing army in the vicinity, the siege lasting for fifteen months.
=== Kastiljska vladavina ===Leta 1247 je krščanski kralj Ferdinand III.