Альмохады
Jerez remained under Muslim rule until 1261. Following the collapse of the Almohad Caliphate, it emerged as an independent enclave until conquered by Castile.