structural:expansion, linguistic:paraphrasing
Imamate of Oman

Omani Azd used to travel to Basra for trade, which was a centre of Islam, during the Umayyad empire. Omani Azd were granted a section of Basra, where they could settle and attend to their needs. Many of the Omani Azd who settled in Basra became wealthy merchants and, under their leader Muhallab bin Abi Sufrah, started to expand their influence of power eastwards towards Khorasan. Ibadhi Islam originated in Basra through its founder, Abdullah ibn Ibadh, around the year 650 CE; the Omani Azd in Iraq would subsequently adopt this as their predominant faith. Later, Al-hajjaj, the governor of Iraq, came into conflict with the Ibadhis, which forced them back to Oman. Among those who returned was the scholar Jaber bin Zaid. His return (and the return of many other scholars) greatly enhanced the Ibadhi movement in Oman. Alhajjaj also made an attempt to subjugate Oman, then ruled by Suleiman and Said (the sons of Abbad bin Julanda). Alhajjaj dispatched Mujjaah bin Shiwah, who was confronted by Said bin Abbad. This confrontation devastated Said's army, after which he and his forces retreated to the Jebel Akhdar (mountains). Mujjaah and his forces went after Said, successfully flushing them out from hiding in Wadi Mastall. Mujjaah later moved towards the coast, where he confronted Suleiman bin Abbad. The battle was won by Suleiman's forces. Alhajjaj, however, sent another force (under Abdulrahman bin Suleiman); he eventually won the war, taking over the governance of Oman.

The first elective Imamate of Oman is believed to have been established shortly after the fall of the Umayyad Dynasty in 750/755 CE, when Janaħ bin ʕibadah Alħinnawi was elected. Other scholars claim that Janaħ bin Ibadah served as a Wāli (governor) under the Umayyad dynasty (and later ratified the Imamate), and that Julanda bin Masud was the first elected Imam of Oman, in 751 CE. The first Imamate reached its peak power in the ninth century CE. The Imamate established a maritime empire whose fleet controlled the Gulf, during the time when trade with the Abbasid Dynasty, the Far 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.