Almohad Caliphate
The Almohad Caliphate lasted from 1121 to 1269. During much of this time, until 1249, it ruled much of what is now southern Portugal. Eventually, however, a taifa based at Niebla was founded in the last years of 1230s and controlled the region up to 1249, when the Kingdom of Portugal conquered Faro.