budapest also became the co-capital of the austro-hungarian empire, a great power that dissolved in 1918 after world war i. the city was the focal point of the hungarian revolution of 1848, the battle of budapest in 1945, and the hungarian revolution of 1956.