 Many Moldovans were members of Cossacks units as well, with two of them, Ioan Potcoavă and Dănilă Apostol becoming hetmans of Ukraine.Ruxandra Lupu, the daughter of Moldavian voivode Vasile Lupu who married Tymish Khmelnytsky, lived in Rașcov according to Ukrainian tradition.While most of today's Moldova came into the Ottoman orbit in the 16th century, a substantial part of Transnistria remained a part of the Polish–Lithuanian Commonwealth until the Second Partition of Poland in 1793.