Original: The union was a result of the Ausgleich or Compromise of 1867, under which the Austrian House of Habsburg agreed to share power with the separate Hungarian government, dividing the territory of the former Austrian Empire between them.
Simplified: The Ausgleich or compromise of February 1867 created the Empires dualist structure.