Complex sentence: In 1773 the city obtained Magdeburg rights and in 1795 it became a part of the Russian Empire.
Split into simpler sentences: In 1773 the city obtained Magdeburg rights. In 1795 it became a part of Russian Empire.