That lasted until the the han system was stopped in 1871 .
That lasted until the abolition of the han system took place in 1871 .