After the Omanis expelled the Persians, Ahmed bin Sa'id Albusaidi in 1749 became the elected Imam of Oman, with Rustaq serving as the capital. Since the revival of the Imamate with the Yaruba dynasty, the Omanis continued with the elective system but, provided that the person is deemed qualified, gave preference to a member of the ruling family. Following Imam Ahmed's death in 1783, his son, Said bin Ahmed became the elected Imam. His son, Seyyid Hamed bin Said, overthrew the representative of his father the Imam in Muscat and obtained the possession of Muscat fortress. Hamed ruled as "Seyyid". Afterwards, Seyyid Sultan bin Ahmed, the uncle of Seyyid Hamed, took over power. Seyyid Said bin Sultan succeeded Sultan bin Ahmed. During the entire 19th century, in addition to Imam Said bin Ahmed who retained the title until he died in 1803, Azzan bin Qais was the only elected Imam of Oman. His rule started in 1868. However, the British refused to accept Imam Azzan as a ruler, as he was viewed as inimical to their interests. This view played an instrumental role in supporting the deposition of Imam Azzan in 1871 by his cousin, Sayyid Turki, a son of the late Sayyid Said bin Sultan, and brother of Sultan Barghash of Zanzibar, who Britain deemed to be more acceptable.