Answer:
The head of state of Austria-Hungary was the emperor, of the family of the Habsburgs, who was in turn head of the two States, emperor of Austria and king of Hungary.
Although it is currently described as a single State, each of these territories was administered independently, with its own parliaments, governments and courts, and there was not even a common citizenship. Only in matters of national defense and foreign relations, the Austro-Hungarian Empire acted as a unified entity.