Moroni grew slowly through the twentieth century for, although it was now the capital of Ngazidja, it was not the seat of the territorial administration, which was located at Dzaoudzi on Mayotte, and in 1958 its population was still only 6,545. However, in that same year the decision was taken to move the capital of the archipelago from Dzaoudzi to Moroni, and the town slowly grew to become the largest in the country.