Gdańsk is a city on the Baltic coast of northern Poland, and the capital of the Pomeranian Voivodeship. With a population of 486,492, it is Poland's sixth-largest city and major seaport. Gdańsk lies at the mouth of the Motława River and is situated at the southern edge of Gdańsk Bay, close to the city of Gdynia and the resort town of Sopot; these form a metropolitan area called the Tricity (Trójmiasto), with a population of approximately 1.5 million.
The city has a complex history, having had periods of Polish, German and self rule. Originating as a Slavic fort within Poland since 997, it has been an important shipbuilding and trade port since the Middle Ages, while between 1361 and 1500 it was a member of the Hanseatic League, which influenced its economic, demographic and urban landscape. It served as Poland's principal seaport and was its largest city from the 15th century until Warsaw surpassed it in the 18th century. With the Partitions of Poland, the city was annexed by Prussia in 1793, and became a part of the German Empire in 1871. In 1807–1814 and 1920–1939 it was a free city, shared between Poland and Germany. On 1 September 1939 it was the scene of a military clash at Westerplatte, one of the first which initiated World War II. The contemporary city was shaped by expulsions, new settlement and extensive reconstruction after 1945. With the 1980 Gdańsk Agreement signed in the Gdańsk Shipyard, it is the birthplace of the Polish Solidarity movement, which majorly contributed to the Fall of Communism by 1989 and the dissolution of the Warsaw Pact.
Gdańsk is home to the University of Gdańsk, Gdańsk University of Technology, the National Museum, the Gdańsk Shakespeare Theatre, the Museum of the Second World War, the Polish Baltic Philharmonic, the Polish Space Agency and the European Solidarity Centre. Among Gdańsk's most notable historical landmarks are the Town Hall, the Green Gate, Artus Court, Neptune's Fountain, and St. Mary's Church, one of the largest brick churches in the world. The city is served by Gdańsk Lech Wałęsa Airport, the country's third busiest airport and the most important international airport in northern Poland.
Gdańsk is among the most visited cities in Poland, having received 3.4 million tourists according to data collected in 2019. The city also hosts St. Dominic's Fair, which dates back to 1260, and is regarded as one of the biggest trade and cultural events in Europe. Gdańsk has also topped rankings for the quality of life, safety and living standards worldwide, and its historic city centre has been listed as one of Poland's national monuments.