Šamorín (Slovak pronunciation: [ˈʂamɔriːn]; Hungarian: Somorja, German: Sommerein) is a small town in western Slovakia, southeast of Bratislava.
Later archaeologic research (2008) uncovered artifacts from the Early and High Middle Ages (remnants of settlements, dwellings, farm buildings).
[6] The German minority was given a royal privilege to apply Pressburg Law (now Bratislava) and lived in the town until the end of the Middle Ages.
[7] The small Hungarian town was mentioned for the first time in 1238 as ecclesia Sancte Mariae and was a prominent port by the Danube during the Middle Ages and the market center of Rye Island.
Šamorín eventually lost its right to the status of royal free city granted in 1405 during the reign of Hungarian King Sigismund.
After the Austro-Hungarian army disintegrated in November 1918, Czechoslovak troops occupied the area, later acknowledged internationally (contested by Hungary) by the Treaty of Trianon.