The following is a timeline of the history of the city of Gdańsk, Poland.

Middle Ages

c. VII century - Settlement is established on the Motława river. c. X century - Gdańsk becomes a defensive fort for Kashubian dukes. 997 - Saint Adalbert baptises the citizens of urbs Gyddannyzc. 1013 - Poland loses influence over the region. 1047 - Casimir I takes back control over Gdańsk. 1186 - Cistercians establish a monastery in Oliwa. 1216 - Swiętopełk II takes control of Pomerania. 1224 - Gdańsk granted city rights. 1227 - Dominican Monastery founded in Gdańsk. 1253 - Oliwa is raided by the Teutonic Order. 1260 - St. Dominic's Fair begins. 1263 - The village of Wrzeszcz, today's borough of Gdańsk, mentioned for the first time. 1271 - First mention of Polanki and Przymorze. 1294, 1295 - Visits of Polish King Przemysł II. 1308 - November 13: Teutonic takeover of Gdańsk. 1325 - Brzeźno is mentioned for the first time. 1326 - St. Catherine's Church built. 1327 - Construction of the Gdańsk Town Hall begins. 1343 - Casimir III the Great agrees to give Pomerelia to the Teutonic order. 1346 - Gaol Tower built. 1350 - Artus Court built (approximate date). 1360 - City joins Hanseatic League (approximate date). 1391 - Foundation of the Marienbrunn Abbey. 1410 - The city recognized Polish King Władysław II Jagiełło as rightful ruler, but the next year it came under Teutonic rule again. 1416 - A revolt against the local government happens due to its weak management. 1440 - City joins the anti-Teutonic Prussian Confederation. 1454 11 February: Townspeople captured the local castle. 6 March: City reincorporated to the Kingdom of Poland by King Casimir IV Jagiellon upon the request of the Prussian Confederation. March: City authorized by the Polish king to mint Polish coins. June: City solemnly pledged allegiance to the King in Elbląg, recognizing the Teutonic annexation and rule as unlawful. 1455 - Danzig law in effect (approximate date). 1458 - Truce between Poland and Denmark signed, after Denmark initially sided with the Teutonic Knights in the Thirteen Years' War (1454–1466). 1463 - The fleets of Elbląg and Gdańsk defeat the Teutonics on the Vistula Lagoon. 1465 - St. John's Church built. 1481 - Artus Court rebuilt. 1494 - Hall of the Brotherhood of St. George built.

Timeline of Gdańsk

16th to 18th centuries

1502 - St. Mary's Church completed. 1514 - Trinity Church built. 1520 - During the Polish-Teutonic War, the Landsknecht coordinated an attack on Gdańsk. 1525 - The Gdańsk Tumult - Lutherans organise a revolt against mayor Eberhard Ferber. 1526 January - The council is overthrown by the revolt. April - King Sigismund I enters the city with eight thousand men, executing the rebels and asserting his power over the region. 1537 - Franz Rhode sets up printing press. 1557 - Sigismund II grants Protestants equal rights. 1558 - Academic Gymnasium established. 1561 - Main Town Hall tower built, with a gilded statue of Polish King Sigismund II Augustus placed at its top. 1568 - Green Gate built. 1569 City becomes part of Polish–Lithuanian Commonwealth. Mennonite Church founded. 1575 - Danzig rebellion begins. 1577 April 17: Battle of Lubieszów. Siege of Danzig by Stephen Báthory of Poland. 1588 - Highland Gate erected. 1594 - Oliwa Cathedral consecrated. 1596 - Bibliotheca Senatus Gedanensis established. 1605 - Arsenal built at the Coal Market Square. 1606 - Der Lachs distillery in business. 1614 - Golden Gate built. 1621 - Jesuit College established in the present-day neighbourhood of Stare Szkoty.

Timeline of Gdańsk

1627 - Battle of Oliwa during the Polish–Swedish War (1626–1629), won by Poland. 1633 - Neptune's Fountain installed at the Long Market. 1640 - Jan Heweliusz established his astronomical observatory in the Old Town. 1655 - Deluge (Swedish invasion of Poland): Siege of Danzig (1655–1660) begins. 1660 - Treaty of Oliva signed. 1681 - Royal Chapel of the Polish King John III Sobieski built. 1703–1711 - Large scale arms smuggling for Hungarian insurgents during the Rákóczi's War of Independence against Austria. 1709 - Bubonic plague. 1711–1712 - Stay of Hungarian national hero Francis II Rákóczi in the city following the Rákóczi's War of Independence. 1734 - Siege of Danzig by Russians during the War of the Polish Succession. 1742 Experimental Physics Society organized. Corn exchange opens in Artus Court. 1756 - Abbot's Palace expanded. 1772 - After the First Partition of Poland the city became separated from the rest of Poland, it remained a Polish exclave. 1793 Second Partition of Poland - city annexed by Prussia. Municipal Library established. 1797 - Attempt of student uprising against Prussia, crushed quickly by the Prussian authorities.

Timeline of Gdańsk