Complex sentence: Rēzekne received Magdeburg rights from Poland in the 17th century, but fell to the Russian Empire during the Partitions of Poland.
Split into simpler sentences: Rēzekne received Magdeburg rights from Poland in the 17th century. It fell to the Russian Empire during the Partitions of Poland.