It became obsolete with the virtual abolition of imprisonment for debt in 1880.
In law of Qin dynasty, the debt slaves system was abolished, while a system of imprisonment for debt was established, and this practice has continued to modern times.