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: It had the third most ( after Russia and the German Empire ) .