 The town's Royal charter was granted in 1621 by King Gustavus Adolphus of Sweden.The original town was situated where Gammelstad (Old Town) is situated today.The town had to be moved in 1649 to the current site, due to the post-glacial rebound that had made the bay too shallow for ships to enter.