After Sarpsborg was burned to the ground during the Northern Seven Years' War, the ruling king, Frederik II of Denmark, decided by royal decree to rebuild the city south of the original location.
In the 1840s, timber exporting from Fredrikstad started to gain momentum.