In 1886 Said Ali bin Said Omar, Sultan of Bambao, signed an agreement with the French government that allowed France to establish a protectorate over the entire island of Ngazidja (Grande Comore; protectorates were also established over Ndzwani (Anjouan), and Mwali (Mohéli island in French) the same year.