Bamberg is a town in Upper Franconia district in Bavaria, Germany, on the river Regnitz close to its confluence with the river Main. Bamberg had 79,000 inhabitants in 2022. The town dates back to the 9th century, when its name was derived from the nearby Babenberch castle. Cited as one of Germany's most beautiful towns, with medieval streets and buildings, the old town of Bamberg with around 2,400 timber houses has been a UNESCO World Heritage Site since 1993.