The siege of Jaén was one of many sieges on the city during the long Spanish Reconquista. The siege, which was carried out by the combined allied forces of the Kingdom of Castile and the Taifa of Baeza, commanded by Ferdinand III of Castile and of Baeza against the defending Taifa of Jayyān (جيان) whose forces were commanded by the notable Christian knight, Álvaro Pérez de Castro. The battle resulted in a Jayyānese victory as the Castilian forces did not capture the city. Areas around the city were totally devastated as a result of the siege. The siege occurred as a part of Ferdinand III's first campaign which occurred roughly from 1224 to 1230 and was undertaken before the that same year.