Bochnia (listen) is a town of 29,992 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 in the 13th century, a World Heritage Site. 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.