Meanwhile, between 1792 - 1830 and during the end and collapse of the Ottoman trusteeship on Algeria, the Alaouite sultans wearied governors of Oran to let their army in. No sooner than the recognition of Moroccan sultan Abdul-Rahman Bin Hisham as Moulay of North-West Algeria, Moroccans withdrew permanently from there as a result of the French colonization on Algeria (1830 - 1962) and the French threat to Moroccan sultans. Algerians then asked Emir Abdul- Qadir to take control of Middle and North-West Algeria and be their leader, and the request was accepted in 1832.