Bochnia [ˈbɔxɲa] is a town of 30,000 inhabitants on the river Raba in southern Poland. The town lies approximately in halfway [38 kilometres (24 mi)] between Tarnów (east) and the regional capital Kraków (west). Bochnia is most noted for its salt mine, the oldest functioning in Europe, built circa 1248. Since Poland's administrative reorganization in 1999, Bochnia has been the administrative capital of Bochnia County in Lesser Poland Voivodeship. Before reorganization it was part of Tarnów Voivodeship.