Tallinn (; ; names in other languages) is the capital and most populous city of Estonia. Located in the northern part of the country, on the shore of the Gulf of Finland of the Baltic Sea, it has a population of 437,619 in 2020. Administratively a part of Harju County, Tallinn is the main financial, industrial and cultural centre of Estonia; the second largest city, Tartu, is located in the southern part of Estonia, southeast of Tallinn. Tallinn is located south of Helsinki, Finland, west of Saint Petersburg, Russia, north of Riga, Latvia, and east of Stockholm, Sweden. It has close historical ties with these four cities. From the 13th century until the first half of the 20th century Tallinn was known in most of the world by its historical German name Reval.