Helsinki is the capital of Finland and is its largest city. It was founded in the Middle Ages to be a Swedish rival to other ports on the Gulf of Finland, but it remained a small fishing village for over two centuries. Its importance to the Swedish Kingdom increased in the mid-18th century when the fortress originally known as Sveaborg was constructed on islands at the entrance to the harbor. While intended to protect Helsinki from Russian attack, Sveaborg ultimately surrendered to Russia during the Finnish War (1808-1809), and Finland was incorporated into the Russian Empire as part of the Treaty of Fredrikshamn. Russia then moved the Finnish capital from Turku to Helsinki, and the city grew dramatically during the 19th century. Finnish independence, a civil war, and three consecutive conflicts associated with World War II made Helsinki a site of significant political and military activity during the first half of the 20th century. Helsinki hosted the Summer Olympic Games in 1952, was a European Capital of Culture in 2000, and the World Design Capital in 2012. It is considered a Beta Level city by the Globalization and World Cities Research Network (GaWC), according to their 2012 analysis.