Zanzibar is an insular semi-autonomous province in the Indian Ocean, 25–50 km (16–31 mi) off the coast of the African mainland. It consists of many small islands and two large ones: Unguja (the main island, referred to informally as Zanzibar) and Pemba Island. The capital is Zanzibar City, located on the island of Unguja.