Image caption The Chinese government has been in a long-running dispute with Google

The Chinese government has renewed Google's licence to operate in China, the internet giant has said, ending a long-running stand-off between the two.

Google gave no details of the licence renewal.

There had been speculation China would revoke the licence after Google began redirecting Chinese users to its unfiltered search site in Hong Kong.

But last month, in a conciliatory move towards Beijing, Google said it would no longer automatically redirect users.

Analysis The battle between Google and the Chinese government appears to have ended in a score-draw. Google can truthfully say that it has stopped censoring search results in China, fulfilling the promise it made at the end of last year. Its Chinese search business is effectively moribund in the country but it can continue to operate in other areas like music, so that Chinese citizens remain aware of its brand. The Chinese government has made sure that its citizens cannot receive unfiltered search results because searches have to pass back from Hong Kong through the firewall where sensitive material can be removed. A source at Google said: "We've had a lot of messages from China saying don't let Google go dark -we've managed to do that while staying true to our principles. "

Instead, Chinese users would be sent to a "landing page", which would send them to the Hong Kong site.

"We are very pleased that the government has renewed our ICP (internet content provider) licence and we look forward to continuing to provide web search and local products to our users in China," Google's lawyer David Drummond said in an e-mailed statement.

Google's share price rose 2.8% in Friday trading following the announcement.

On Thursday, Google boss Eric Schmidt said that he expected the Chinese government to renew the licence.

'Cyber attack'

Google has had a long history of run-ins with the Chinese authorities, but without a licence granted by Beijing, it cannot operate in China.

"Our operations in China are completely at the discretion of the Chinese government," Mr Schmidt has said.

In January, Google said it might pull out of China following what it called a "sophisticated" cyber attack originating from the country.

The attacks targeted the e-mail accounts of Chinese human rights activists, along with the computers and infrastructure of Google and several other US firms.

GOOGLE CHINA TIMELINE January 2006: Google launches in China

March 2009: China blocks access to YouTube

June 2009: China introduces filtering software on all new PCs

January 2010: Google says it may pull out of China after cyber attacks

January 2010: China denounces US criticism of its internet controls

March 2010: China's state media attacks Google for close ties with the White House

March 2010: Google says will automatically redirect China customers to uncensored Hong Kong site

June 2010: Google says China customers now have to actively click on Hong Kong site

July 2010: China renews Google licence

Following the threat to withdraw, some passers-by laid flowers outside Google's offices to thank the company for standing up for its principles.

The US government even issued a statement saying it was "disappointed" that Google and China had not been able to resolve their differences.

'Issues remain'

The licence renewal is key to Google. Losing business in China, which already has more internet users than any other country despite relatively low penetration, could harm the company's future growth prospects.

Analysts welcomed the renewal, but warned that fundamental differences between Google and China remained.

"It is good news for the Chinese consumer and good news for the Chinese internet industry that Google is still available in the country in some shape or form," said Ted Dean at Beijing-based business advisory firm BDA.

"But many of the issues around why Google shut down its Chinese search page in the first place are still there."

Elinor Leung, at investment firm CLSA in Hong Kong, went even further, arguing that "this doesn't really change anything about Google's position in China. The redirection to its Hong Kong site is ongoing so it is the same problem as before".