Apple has removed 25,000 of gambling and lottery apps from its App Store in China, state-owned media China Central Television reported Monday (local time). The practices promoted by these apps, that are illegal per the local law, have caused “economic damage to its users,” the outlet added.

In a statement to WSJ, Apple confirmed that it had pulled apps from the App Store in China, but did not comment on the exact figure. It said, “Gambling apps are illegal and not allowed on the App Store in China. We have already removed many apps and developers for trying to distribute illegal gambling apps on our App Store, and we are vigilant in our efforts to find these and stop them from being on the App Store.”

The move comes as Apple has been criticized by the local media for not doing enough to weed out bad elements from its app stores in China.