Dachau (German pronunciation) is a town in Upper Bavaria, in the southern part of Germany. It is a major district town—a Große Kreisstadt—of the administrative region of Upper Bavaria, about 20 kilometres (12 miles) north-west of Munich. It is now a popular residential area for people working in Munich with roughly 45,000 inhabitants. The historic centre of town with its 18th-century castle is situated on an elevation and visible over a great distance. Dachau was founded in the 9th century. It was home to many artists during the late 19th and early 20th centuries; well-known author and editor Ludwig Thoma lived here for two years. The town is also known for its proximity to the infamous Dachau concentration camp built in 1933 by the Nazis, in which tens of thousands of prisoners died.