 The Alaouite Sultan Moulay Ismail reorganized the Black Guard into permanent infantry and cavalry units at the beginning of the 18th century.He called upon Bambara men who had just converted to Islam, making them take an oath of service on the collection of hadith of the Imam Bukhari.For this reason they were also known as the "Army of Bukhara" or the Boukharis.