A fishermen's village existed at the site of the present-day town in the Early Middle Ages. The area became part of the emerging Polish state in the 10th century. The name of the town comes from the Polish word "świecić", which means "shine". During the period of the fragmentation of Poland, Świecie became the residence of Pomeranian Duke Grzymisław, when in 1198 the St. Mary's church was erected there. Grzymisław's duchy included part of Gdańsk Pomerania with prominent towns of Starogard Gdański and Lubiszewo Tczewskie, as well as Skarszewy. The Teutonic Order conquered Gdańsk in 1309 and in 1310 bought the region in Soldin from the Margraves of Brandenburg, who claimed the region, which however legally formed part of Poland. By then, the settlement already had the status of "Civitas", just as Gdańsk and Tczew did. Świecie was granted a municipal form of government by the Teutonic Order, when it was still located on the high west bank of the Vistula. Probably because of destruction by fire, during the period 1338–1375 the town was relocated down into the valley at the Vistula. The town was briefly recaptured by the Poles after their victory in the Battle of Grunwald in 1410. In 1454, in the beginning stages of the Thirteen Years' War, it was captured by the Prussian Confederation, which opposed Teutonic rule, and upon the request of which King Casimir IV Jagiellon re-incorporated the territory to the Kingdom of Poland that same year. The Teutonic Knights renounced any claims to the town, and recognized it as part of Poland in 1466. Administratively it formed part of the Pomeranian Voivodeship in the province of Royal Prussia in the Greater Poland Province. The town prospered due to its location at the intersection of the Amber Road and the trade route connecting Western Pomerania with Warmia, Masuria and Lithuania. In the 17th century, Świecie suffered as a result of the Swedish invasion of Poland and an epidemic.