Why did China’s “One Child Policy” come to an end?

People voted to end the policy.

It was overturned by a national court.

The population was becoming too old.

Countries were boycotting Chinese goods.