Ferdinand and Isabella captured Málaga from the Moors after the Siege of Málaga (1487), one of the longest sieges in the Reconquista, and raised their standard at the "Torre del Homenaje" in the inner citadel.