 Complete the following phrase:  Suleymans successor, Abd al-Rahman or Abderrahmane; ruled 18221859, tried to reinforce national unity by recruiting local elites of the country and orchestrating military campaigns designed to bolster his image as a defender of Islam against encroaching European powers. The French conquest of Algeria in 1830, however, destabilized the region and put the sultan in a very difficult position. Wide popular support for the Algerians against the French led Morocco to allow the flow of aid and arms to the resistance movement led by Emir Abd al-Qadir, while the Moroccan ulama delivered a fatwa for a supporting jihad in 1837. On the other hand, Abd al-Rahman was reluctant to provide the French with a clear reason to attack Morocco if he ever intervened. He managed to maintain the appearance of neutrality until 1844, when he was compelled to provide refuge to Abd al-Qadir in Morocco. The French, led by the marshall Bugeaud, pursued him and thoroughly routed the Moroccan army at the 