Omani dynasty. Over the past twelve centuries, the Ibadi community of Oman has elected sixty-one imams of different dynasties. Ibadi political power in Oman began with the seizure of power by the first publicly elected imam, al-Julanda ibn Masud (r. 749–741), who was slain in battle by the Abbasids. The imamate was revived in 793 under Muhammad ibn Affan. The Ibadis continued to elect imams under Abbasid rule after 893 and exercise considerable authority. Imam Nasir ibn Murshid al-Yarubi (r. ca. 1624–49) established the Ibadi dynasty during the struggle against Portuguese colonial dominance. This dynasty was replaced by the present ruling family in 1959, currently headed by Sultan Qabus.