The Azande have had good relations with their neighbors, namely the Moru, Mundu, Pöjulu, Avukaya, Baka and the small groups in Bahr el Ghazal, due to the expansionist policy of their king Gbudwe, in the 18th century. In the 19th century, the Azande fought the French, the Belgians and the Mahdists to maintain their independence. Ottoman Egypt, under the rule of Khedive Ismail Pasha, first attempted to control the region in the 1870s, establishing the province of Equatoria in the southern portion. Egypt's first governor was Samuel Baker, commissioned in 1869, followed by Charles George Gordon in 1874, and by Emin Pasha in 1878.