 The elected Imam (ruler) resided in the capital, and Walis (governors) represented the Imamate in its different regions.The Imamate of Oman, similar to the Sultanate of Muscat, was ruled by the Ibadi sect.Imams exercised spiritual and temporal representation over the region.