After the Napoleonic Wars and the 1815 Congress of Vienna, the Prussian lands were re-arranged into ten provinces, three of them—East Prussia, West Prussia and the Grand Duchy of Posen—beyond the borders of the German Confederation. The provinces were internally divided into up to six Regierungsbezirke and further into the districts on local level, headed by a Landrat administrator. The districts usually took the name of their capital (Kreisstadt), seat of the administrative office (Landratsamt).