For many centuries, a merchant trade route passed through Zanzibar.

An excerpt from the article 24 facts about Zanzibar

In the 16th century, it became a colony of Portugal, and in the 19th century, many Arabs from Oman settled on the island and created a landed elite there. Indians also appeared there, and the English set off from there into Africa.