Beginning in 1090, the situation deteriorated further with the invasion of the Almoravids, a puritan Muslim sect from Morocco. Even under the Almoravids, some Jews prospered although far more so under Ali III, than under his father, Yusuf ibn Tashfin. Among those who held the title of "vizier" or "nasi" in Almoravid times were the poet and physician Abu Ayyub Solomon ibn al-Mu'allam, Abraham ibn Meïr ibn Kamnial, Abu Isaac ibn Muhajar and Solomon ibn Farusal. The Almoravids were ousted from the peninsula in 1148, but the region was again invaded, this time by the even more puritanical Almohads.