Beijing: China called for foreign governments not to interfere in its affairs Thursday, after a Norwegian politician nominated the "people of Hong Kong" for the 2020 Nobel Peace Prize.

Semi-autonomous Hong Kong has been hit by months of pro-democracy protests, which Beijing has portrayed as riots fuelled by foreign forces. "Hong Kong affairs are purely China's internal affairs and no foreign government or individuals have the right to interfere," foreign ministry spokesman Geng Shuang said at a press briefing.

Geng called for the "relevant people to be objective and just" as well as "cautious." Activists say freedoms in the city are being eroded by Beijing -- contrary to a 50-year deal that outlined Hong Kong's return to China from British rule.

"I have nominated the people of Hong Kong, who risk their lives and security every day to stand up for freedom of speech and basic democracy, to the Nobel Peace Prize for 2020," Guri Melby, a member of Norway's parliament for the liberal party, said in a Twitter post on Tuesday.

In an interview published by the newspaper Aftenposten on Wednesday, Melby added that "what they do has an impact far beyond Hong Kong, both in the region and in the rest of the world".

Millions have taken to the streets of Hong Kong over the last four months in the worst political crisis since the 1997 handover.

Protests were initially against a now-dropped bid by its leaders to allow extraditions to the Chinese mainland, but snowballed into a broader push for democracy.

Beijing has had a tense relationship with the Nobel Committee. In 2010 the award was given to imprisoned Chinese dissident Liu Xiaobo, a writer, philosopher and veteran of the Tiananmen protests, who died of cancer in 2017.

Although the Nobel Committee is independent of the government in Norway, Beijing froze its relations with the Scandinavian country in response to the award, suspended negotiations for a free trade agreement and blocked imports of Norwegian salmon.

Relations between the countries did not normalise until December 2016, after Oslo committed to not "support actions that undermine" Chinese interests.

In 1989, the coveted peace prize was given to Tibetan spiritual leader the Dalai Lama, who Beijing accuses of trying to split China.