The result was the 1867 Austro-Hungarian Compromise, which saw our “Habsburg Empire” (now the Austrian Empire) officially morph into Austria-Hungary, also known as the Austro-Hungarian Empire. This change effectively split the empire into two semi-independent halves: the Kingdom of Hungary and the Austrian Empire.
After the First World War, the ruling dynasty of the Hapsburg in Austria-Hungary was destroyed and Austria and Hungary became seperate independent states