Ahmad al-Mansur
Sometime between 1583 and 1588 the forces of the Moroccan sultan Ahmad al-Mansur took control of the Tuat and the Gourara oases. The area remained politically dependent upon Morocco but the sovereignty of the Alaouite