Original: In 1791 it gained full independence, but on March 28, 1795, it was annexed by the Russian Empire in the third Partition of Poland.
Simplified: It became independent in 1791, but was annexed by Russian Empire in 1795 during Third Partition of Poland.