The Austro-Hungarian Compromise of 1867 (, ) established the dual monarchy of Austria-Hungary. The Compromise partially re-established the former sovereignty of the Kingdom of Hungary, however being separate from, but 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 was introduced by Francis Joseph after the Hungarian Revolution of 1848. The territorial integrity of Kingdom of Hungary was restored. The agreement also restored the old historic constitution of the Kingdom of Hungary.