In the United States several different types of communities were established by Americans during the frontier period; mining towns, railroad towns, cow towns and farming towns were the primary settlements built. Throughout the continental United States and Alaska, valuable minerals were discovered and mining operations launched. The miners would usually settle a site and make home of tents and shacks,that miners built by hand.
Eventually mining buildings such as smelters or stamp mills would be constructed followed by cabins, stores and saloons. A community would naturally be born with the settling of women and children and existed as long as precious metal could be dug from the area.
Sometimes the geographical location of a mining community or the various American railroads would ensure a community's existence after all the valuable minerals were gone. Many American mining communities became ghost towns though others have become prominent cities. A settlement usually can only be considered a mining community if a mine exists directly at the settlement or within the immediate area and if the population relies on the mine economically. Smelter towns, built for smeltering ore extracted from mines, are considered a type of mining community.
In Germany, a Bergstadt refers to a settlement near mineral deposits vested with town privileges, Bergregal rights and tax exemption, in order to promote the economic development of the mining region. Baden-Württemberg