 The Hammudids were then expelled from Cordoba, where there was still a great deal of anti-Berber sentiment.The Hammudids remained in Malaga until expelled by the Zirids in 1056.The Zirids of Granada controlled Malaga until 1073, after which separate Zirid kings retained control over the taifas of Granada and Malaga until the Almoravid conquest.