Nasrid dynasty
In 1292 Sancho IV took Tarifa, key to the control of the Strait of Gibraltar. Granada, Almería, and Málaga were the only major Muslim cities remaining in the Iberian peninsula. These three cities were the core of the Emirate of Granada, ruled by the Nasrid dynasty. Granada was a vassal state of Castile, until finally taken by the Catholic Monarchs in 1492.