On July 29 and September 29, 1837, treaties were signed between the US government and the local Ojibwa and Dakota nations. They allowed settlement in the St. Croix River Valley. The town was founded by settlers drawn by the area's then-abundant lumber and river traffic. It is one of Minnesota's oldest towns, preceding Minneapolis by several years. Stillwater was officially incorporated as a city on March 4, 1854 (the same day as St. Paul). The city was named for the calm waters of the St. Croix River.