What type of government did the ottoman empire have?

The Ottoman Empire of Turkey had Caliphate as the type of government. The Caliph managed the government with the help of ministers. He was the head of the government as well as the chief commander of the armed forces. In a way, the Ottoman Caliphs had all the powers vested in them.