Image copyright Getty Images Image caption An estimated 30,000 African elephants are killed by poachers every year

China has long been one of the world's biggest markets for ivory, but as of 2018 all trade in ivory and ivory products in the country is illegal.

The move is being hailed as a major development in efforts to protect the world's elephant population.

Wildlife campaigners believe 30,000 African elephants are killed by poachers every year.

State media said there had already been a 65% decline in the price of raw ivory over the past year.

There had also been an 80% decline in seizures of ivory entering China, said Xinhua.

The ban was announced last year and came into effect on Sunday, the last day of 2017.

Media playback is unsupported on your device Media caption The facts and figures behind China's ivory trade

Sixty-seven official factories and shops dealing in ivory had already been closed by March 2017, said Xinhua, and the remaining 105 were to have shut down by Sunday.

"From now on, if a merchant tells you 'this is a state-approved ivory dealer'... he is duping you and knowingly violating the law," the forestry ministry said on its Weibo microblog.

Xinhua said "one of the largest ever public awareness campaigns" had been carried out in the run-up to the ban, with support from celebrities including superstar basketball player Yao Ming.

The World Wildlife Fund for Nature (WWF) said it was "delighted to see the doors of the world's largest ivory market close".

"This is a significant step that should prove to be a huge boost to elephant protection efforts in Africa," said WWF's Africa director Fred Kumah in a blog post.

Image copyright Other Image caption Celebrities including basketball player Yao Ming have fronted anti-ivory campaigns in China

"However as the world commends China's leadership in a region rife with illegal wildlife trade, I can't help but be reminded of the enormity of the task that lies ahead, both in China and Africa."

Mr Kumah said while there was a lot of public support for the ban in China, there was still a lack of awareness that it had come in to force, and he urged continuing education.

WildAid CEO Peter Knights said this was "the greatest single step toward reducing elephant poaching".

"We can start 2018 hopeful that elephants will be safer now that China has banned commercial ivory sales," he said.

Image copyright Getty Images Image caption China says there is general public support for a ban on ivory trading

However, there is concern that Hong Kong is not covered by the new laws. It is a major ivory trading hub, with most customers believed to be mainland Chinese.

The territory is in the process of bringing in its own total ban.

China had already banned sales of ivory acquired after 1975, under the Convention on International Trade in Endangered Species of Wild Fauna and Flora (CITES).

But critics have long said allowing other ivory products to be sold openly drives up demand for the status symbol and allows illegal trade to flourish.

The international trade in ivory was banned in 1990.