Bannack became a boom town due to the discovery of gold in nearby Grasshopper Creek in 1862. The town quickly grew into a bustling center of mining activity, attracting thousands of prospectors and settlers from all over the country. By 1864, Bannack had a population of over 5,000 people and was the largest city in Montana Territory.