In 1813, George III was restored to his Hanoverian territories, and in October 1814 they were erected into the independent Kingdom of Hanover at the Congress of Vienna. The Congress of Vienna instituted a territorial exchange between Hanover and Prussia, in which Hanover increased its area substantially, gaining the Bishopric of Hildesheim, East Frisia, the Lower County of Lingen and the northern part of the Bishopric of Münster. It lost those parts of the Duchy of Lauenburg to the right of the Elbe, and several small exclaves in the east.