The first elective Imamate of Oman is believed to have been established shortly after the fall of the Umayyad Dynasty in 750/755 AD when Janah bin Abbada Alhinawi was elected. Other scholars claim that Janah bin Abbada served as a Wali (governor) under Umayyad dynasty and later ratified the Imamate, while Julanda bin Masud was the first elected Imam of Oman in A.D. 751. The first Imamate reached its peak power in the ninth A.D. century. The Imamate established a maritime empire whose fleet controlled the Gulf during the time when trade with the Abbasid Dynasty, the East and Africa flourished. The authority of the Imams started to decline due to power struggles, the constant interventions of Abbasid and the rise of the Seljuk Empire.