The Austro–Hungarian Compromise ("Ausgleich") of 1867 created the Dual Monarchy. Under the Compromise, Austria and Hungary each had separate parliaments (the Imperial Council and the Diet of Hungary) that passed and maintained separate laws. Each region had its own government, headed by its own prime minister. The "common monarchy" consisted of the emperor-king and the common ministers of foreign affairs, defense and finance in Vienna. The Compromise confirmed Croatia–Slavonia's historic, eight-centuries-old relationship with Hungary and perpetuated the division of the Croat lands, for both Dalmatia and Istria remained under Austrian administration (as Kingdom of Dalmatia and Margraviate of Istria).