The company has officially stopped operations in mainland China as of November 1, becoming the second US-based tech company to leave the country after Microsoft’s LinkedIn.

Previously, Yahoo's operations in China had been downsized and some services including the Yahoo web portal had been blocked.
Previously, Yahoo's operations in China had been downsized and some services including the Yahoo web portal had been blocked. (AP)

Yahoo Inc. has pulled out of China, citing an “increasingly challenging business and legal environment.”

“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,” the company said in a statement on Tuesday.

Visitors to Yahoo's website in China are now redirected to a brief statement announcing the closure.

The company said it “remains committed to the rights of our users and a free and open internet.”

Foreign tech companies have long walked a tightrope in China, forced to comply with strict local laws and government censorship of content.

Chinese authorities maintain a firm grip on internet censorship in the country and require companies to censor content and keywords deemed politically sensitive or inappropriate.

READ MORE: China's 'national security' data law comes into effect

The company's withdrawal coincided with the implementation of China's Personal Information Protection Law, which limits what information companies can gather and sets standards for how it must be stored.

Chinese laws also stipulate that companies operating in the country must hand over data if requested by authorities, making it difficult for Western firms to operate in China as they may also face pressure back home over giving in to China's demands.

Yahoo was lambasted by lawmakers in the US in 2007 after it handed over data on two Chinese dissidents to Beijing, eventually leading to their imprisonment.

READ MORE: China announces rules to tighten control over company data transfer

A "largely symbolic" move

Yahoo had previously downsized its operations in China, and in 2015 shuttered its Beijing office.

Its withdrawal from the country is largely symbolic as at least some of Yahoo’s services, including its web portal, have already been blocked.

China has also blocked most international social media sites and search engines, such as Facebook and Google. Users in China who wish to access these services circumvent the block by using a virtual private network (VPN).

Yahoo also previously operated a music and email service in China, but both services were also stopped in the early 2010s.

Yahoo is the second large US technology company to reduce its operations in China in recent weeks. Last month, Microsoft’s professional networking platform LinkedIn said it would shutter its Chinese site, replacing it with a jobs board instead.

READ MORE: Hong Kong passes bill banning films that endanger 'national security'

Source: TRTWorld and agencies