Yahoo says it has stopped allowing its services to be accessible from mainland China "in recognition of the increasingly challenging business and legal environment," becoming the second Western technology brand to quit the country in recent weeks.

The company stopped providing content for users in mainland China as of Nov. 1, according to a statement published on its website, which directed users of Yahoo and AOL mail to other links. Local Chinese media reported Yahoo's move on Tuesday.

"In recognition of the increasingly challenging business and legal environment in China, Yahoo's suite of services will no longer be accessible from mainland China as of November 1," a Yahoo spokesperson wrote in an email uesday. "Yahoo remains committed to the rights of our users and a free and open internet. We thank our users for their support."