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

Franz Joseph I was the Emperor until his death in1916, when he was succeeded by Charles IV. Chief of Staff of the Austro-Hungarian Armed Forces was Count Francis Conrad von Hotzendorf.

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