In 1840, Sultan Said bin Sultan moved his seat from Muscat, Oman, to Stone Town, which thus entered an era of quick development as the new capital of the Sultanate of Oman and Zanzibar. With the British outlawing the slave trade in the Indian Ocean, the Sultanate's fortunes crashed. The Muscat economy was in shambles and many Omanis migrated to Zanzibar. The increase in the Arab population on the island facilitated further growth and more buildings began to spring up in the town. Furthermore, grand royal structures like the House of Wonders and the Sultan's Palace were also built. In 1861, as a consequence of a war of succession within the Omani royal family, Zanzibar and Oman were separated, with Zanzibar becoming an independent sultanate under Sultan Majid bin Said.