The history of Polish counties goes back to the second half of the 14th century. 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. 