 In 1662 the population of Czchów was reduced to only 500, and in 1690, after a disastrous flood, only 36 houses remained.The castle lost its military importance, and was turned into a prison.After the Partitions of Poland, Czchów became part of Austrian province of Galicia (1772), where it remained until 1918.