Omani presence in the Swahili Coast can be traced since the Nabhani dynasty.[4] In the late seventeenth century, Zanzibar became part of the overseas holdings of Oman after Saif bin Sultan, the imam of Oman, defeated the Portuguese in Mombasa, in what is now Kenya.[5]