The Austro-Hungarian Compromise of 1867 established the dual monarchy of Austria-Hungary (see Austro-Hungarian 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.