 On 19 November 1835, Mayotte was again conquered by the Ndzuwani Sultanate (Anjouan sultanate in French); a governor was installed with the unusual Islamic style of Qadi (from the Arabic قاض which means judge).However, in 1836 it regained its independence under a last local Sultan.Andriantsoly won again the island in 1836, but his depopulated and unfortified island was in a weak position towards the sultans of Comoros, Malagasy kings and pirates.