Hanover (German: Hannover) is a territory that was at various times a principality within the Holy Roman Empire, an Electorate within the same, an independent Kingdom, and a subordinate Province within the Kingdom of Prussia. The territory was named after its capital, the city of Hanover, which was the principal town of the region from 1636. In contemporary usage, the name is used only for the city. Most of the historical territory of Hanover forms the greater part of the German state of Lower Saxony but excludes certain areas.