Sultanate of Zanzibar fled into exile, and the Sultanate was replaced by the People's Republic of Zanzibar and Pemba. In April 1964, this short-lived communist republic was united with Tanganyika to form the United Republic of Tanganyika and Zanzibar, which became known as Tanzania six months later. By 1964, the country was a constitutional monarchy ruled by Sultan Jamshid bin Abdullah. Zanzibar had a population of around 230,000 natives, some of whom claimed Persian ancestry and were known locally as Shirazis. It also contained significant minorities in the 50,000 Arabs and 20,000 South Asians who were prominent in business and trade. The various
History of Zanzibar slave trade was officially abolished in 1876, but slavery itself remained legal in Zanzibar until 1897. Zanzibar had the distinction of having the first steam locomotive in the African Great Lakes, when Sultan Bargash bin Said ordered a tiny 0-4-0 tank engine to haul his regal carriage from town to his summer palace at Chukwani. One of the most famous palaces built by the Sultans were the House of Wonders, which is today one of Zanzibar's most popular tourist attractions. The British Empire gradually took over; the relationship was formalized by the 1890 Heligoland-Zanzibar Treaty, in which Germany pledged, among