After the decolonization of Oman from the Persians, Ahmed bin Sa'id Albusaidi in 1749 became the elected Imam of Oman, with Rustaq serving as the capital. Since the Yaruba dynasty, the Omanis kept 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 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. The refusal played an instrumental role in deposing Imam Azzan in 1871 by a sultan who Britain deemed to be more acceptable.