Pärnu (ˈpærˑnu) is the fourth largest city in Estonia and third in terms of the ethnic Estonian population. Situated in southwest Estonia, Pärnu is located south of the Estonian capital, Tallinn, and west of Estonia's second largest city, Tartu. The city sits off the coast of Pärnu Bay, an inlet of the Gulf of Riga, which is a part of the Baltic Sea. In the city, the Pärnu River drains into the Gulf of Riga. Pärnu is a popular summer holiday resort town among Estonians with many hotels, restaurants and large beaches. The city is served by Pärnu Airport. Pärnu or Old Pärnu (Perona, Pernau, Alt-Pernau, Vana-Pärnu), which was founded by the bishop of Ösel–Wiek 1251, suffered heavily under pressure of the concurrent town, and was finally destroyed 1600. Another town, Embeke (later Neu-Pernau, Uus-Pärnu) was founded by the Livonian Order, who began building an Ordensburg nearby in 1265. The latter town, then known by the German name of Pernau, was a member of the Hanseatic League and an important ice-free harbor for Livonia. The Polish–Lithuanian Commonwealth took control of town between 1560 and 1617; the Poles and Lithuanians fought the Swedes nearby in 1609. Sweden took control of the town during the 16th-century Livonian War as part of Swedish Livonia, although it was not formally ceded by Poland-Lithuania until the 1660 Treaty of Oliva. Sweden then lost Livonia to the Russian Empire in the 1710 Capitulation of Estonia and Livonia and the 1721 Treaty of Nystad, following the Great Northern War. It belonged to the Imperial Russian Governorate of Livonia until 1917, when it was transferred to the short-lived Autonomous Governorate of Estonia. The city is occasionally referred to as Pyarnu, an incorrect reverse-transliteration from the Russian Пярну. The town became part of independent Estonia in 1918 following World War I and the Estonian War of Independence. The city was occupied by the Soviet Red Army along with the rest of Estonia in 1940 during World War II, and its German population fled the town.