Who was the leader of Austria-Hungary during World War I?

Emperor Franz Josef I was the ruler of Austria-Hungary during World War 1. He was the uncle of the assassinated Archduke Franz Ferdinand, who had been his designated heir.

Franz Josef gave titular command to Archduke Friedrich von Österreich-Teschen, but the real authority was held by the head of the General Staff, Count Franz Conrad von Hötzendorf.