Original: They remained the basic unit of territorial organization in Poland, then in the Polish-Lithuanian Commonwealth, until the latter's partitioning in 1795.
Simplified: They remained the basic units of territorial organization in Poland, then in the Polish-Lithuanian Commonwealth, until the latter's total dismemberment by its neighbors in 1795.