city in Poland in 1000 years