In 1018 it was annexed by Poland, 1031 back to Rus, in 1340 Casimir III of Poland recovered it.
It was annexed by Poland in 1340 Casimir III of Poland. This was 1031 back to Rus. This was in 1018. This Poland was recovered it.