Original: The Dual Monarchy had existed for 51 years when it dissolved on October 31 , 1918 following military defeat in the First World War .
Simplified: The monarch 's central government had charge of the army , navy , foreign policy , and the customs union .