The Austro-Hungarian Compromise of 1867 (German: Ausgleich, Hungarian: Kiegyezés) established the dual monarchy of Austria-Hungary, which was a military and diplomatic alliance of two sovereign states. The Compromise only partially re-established the former pre-1848 sovereignty and status of the Kingdom of Hungary, being separate from, and no longer subject to, the Austrian Empire. The compromise put an end to the 18-year-long military dictatorship and absolutist rule over Hungary which Emperor Franz Joseph had instituted after the Hungarian Revolution of 1848. The territorial integrity of the Kingdom of Hungary was restored. The agreement also restored the old historic constitution of the Kingdom of Hungary.
Hungarian political leaders had two main goals during the negotiations. One was to regain the traditional status (both legal and political) of the Hungarian state, which had been lost after the Hungarian Revolution of 1848. The other was to restore the series of reform laws (the so-called April Laws) of the revolutionary parliament of 1848, which were based on the 12 points that established modern civil and political rights and economic and societal reforms in Hungary. The April Laws of the Hungarian revolutionary parliament (with the exception of the laws based on the 9th and 10th points) were restored by Franz Joseph.