Now an attractive tourist destination, in 1745 the site of major battles of the Silesian Wars. The first mention of its existence dates from 1277.