The succeeding Prussian reforms instigated by Heinrich Friedrich Karl vom und zum Stein and Karl August von Hardenberg included the implementation of an Oberlandesgericht appellation court at Königsberg, a municipal corporation, economic freedom as well as emancipation of the serfs and Jews. In the course of the Prussian restoration by the 1815 Congress of Vienna, the East Prussian territories were re-arranged in the Regierungsbezirke of Gumbinnen and Königsberg. From 1905, the southern districts of East Prussia formed the separate Regierungsbezirk of Allenstein. East and West Prussia were first united in personal union in 1824, and then merged in a real union in 1829 to form the Province of Prussia. The united province was again split into separate East and West Prussian provinces in 1878.