As a consequence of the Second Italian War of Independence and the Austro-Prussian War, the Habsburg Empire was on the verge of collapse in 1866, as these wars caused monumental state debt and a financial crisis. The Habsburgs were forced to reconcile with Hungary, to save their empire and dynasty. The Habsburgs and part of the Hungarian political elite arranged the Austro-Hungarian Compromise of 1867. The Compromise was arranged and legitimated by a very small part of the Hungarian society (suffrage was very limited: less than 8% of the population had voting rights), and was seen by a very large part of the population as betrayal of the Hungarian cause and the heritage of the 1848–49 War of Independence. This caused deep and lasting cracks in Hungarian society.