Copenhagen. These terms cover the "royal territories" of the Oldenburgs as it was in 1460, excluding the "ducal territories" of Schleswig and Holstein. The administration used two official languages, Danish and German, and for several centuries both a Danish Chancellery () and German Chancellery () existed. The term "Denmark–Norway" reflects the historical and legal roots of the union. It is adopted from the Oldenburg dynasty's official title. The kings always used the style "King of Denmark and Norway, the Wends and the Goths" (). Denmark and Norway, sometimes referred to as the "Twin Realms" () of Denmark–Norway, had separate legal codes and currencies, and mostly separate governing institutions. Following the introduction of absolutism in 1660, the centralisation of government meant a concentration of institutions in Copenhagen. Centralisation was supported in many parts of Norway, where the two-year attempt by Sweden to control Trøndelag had met strong local resistance and resulted in a complete failure for the Swedes and a devastation of the province. This allowed Norway to further secure itself militarily for the future through closer ties with the capital Copenhagen. The term "Sweden–Finland" is sometimes, although with less justification, applied to the contemporary Swedish realm between 1521 and 1809. Finland was never a separate kingdom, and was completely integrated with Sweden, while Denmark was the dominant component in a personal union. Colonies Throughout the time of Denmark–Norway, it continuously had possession over various overseas territories. At the earliest times this meant areas in Northern Europe and North America, for instance Estonia and the Norwegian possessions of Greenland, the Faroe Islands and Iceland. From the 17th century, the kingdoms acquired colonies in Africa, the Caribbean and India. At its height the empire was about 2,655,564.76 km2 (1,025,319 sq mi) India Denmark–Norway maintained numerous colonies from the 17th to 19th centuries over various parts around India. Colonies included the town of Tranquebar and Serampore. The last settlements it had control over were sold to the United Kingdom in 1845. Rights in the Nicobar Islands were sold in 1869. Caribbean Centred on the Virgin Islands, Denmark–Norway established the Danish West Indies. This colony was one of the longest-lived of Denmark, until it was sold to the United States in 1917. It became the U.S. Virgin Islands. West Africa In the Gold Coast region of West Africa, Denmark–Norway also over time had control over various colonies and forts. The last remaining forts were