The Austro-Hungarian Empire was a dual monarchy established in 1867, comprising the Kingdom of Austria and the Kingdom of Hungary, and it lasted until its dissolution in 1918. The empire was characterized by a complex political structure that attempted to balance the diverse nationalities within its borders, contributing to rising nationalist movements and tensions among various ethnic groups.