 Goldberg owes its origin and name to a gold mine in the neighbourhood, which, however, has been wholly abandoned since the time of the Hussite wars.The town obtained civic rights in 1211.It suffered heavily from the Tatars in 1241, from the plague in 1334, from the Hussites in 1428, and from the Saxon, Imperial and Swedish forces during the Thirty Years' War.