Who was the leader for austria in World War 1?

Franz Joseph I until his death in 1916 and his successor Karl I who was forced to abdicate in 1918.