Was the Ottoman Empire ruled by the Sunnis the Sufis or the Shiites?

The Ottoman Empire was the heart of the Sunni Caliphate, so the Sunnis were actually in power. However, the Ottoman rulers did reach out to a number of Sufi Orders to help maintain the empire's legitimacy with poorer people, who were more likely to follow the beliefs of local pious Sufis. Shiites were reviled by the Ottoman Empire and often persecuted under the mistaken belief that they were fifth columns more loyal to Safavid Iran than the Ottoman Empire.

Sunni Muslims.