The area was first settled by the Thracian tribe of the Triballi in the 7th or 6th century BC due to its position as an important crossroad connecting the Danube with Macedonia and Thrace close to two key Balkan passes.
The ore ledges brought Saxon miners to the town in the 16th century.