Hong Kong has faced its “grimmest and most complex year” since the former British colony was returned to China, President Xi Jinping said, before reiterating his support for the semi-autonomous city’s leader.

Mr Xi praised Hong Kong chief executive Carrie Lam on Monday for holding fast to the principle of “one country, two systems”, and for courage during an “extraordinary period” for Hong Kong.

Ms Lam met Xi and premier Li Keqiang during her first visit to Beijing since pro-democracy candidates swept local Hong Kong elections last month in a rebuke of how her administration has handled months of fiery anti-government protests.

China Hong Kong Protests
Carrie Lam, left, and Chinese premier Li Keqiang (Hong Kong Government Information Services/AP)

“In the past year, our politics, economy and society have really faced big problems,” Ms Lam said in her meeting with Li.

Hong Kong was returned to China in 1997 under a “one country, two systems” framework which promises the city more democratic rights than are allowed on the mainland.

In recent years, however, the arrests of booksellers and activists have stoked fears of a growing encroachment by the ruling Communist Party.

The mass demonstrations began in June in response to proposed legislation that would have allowed Hong Kong residents to be tried for crimes in mainland China.

Hong Kong Protest
Police and protesters scuffle at a shopping mall in Sha Tin district (AP)

While Ms Lam has since withdrawn the bill, protesters have continued calling for broader democratic reforms and an independent inquiry into accusations of police brutality.

Some protesters have increasingly resorted to violence. A lull in clashes ended Sunday evening when protesters threw bricks at police officers, who in turn fired tear gas.

According to the authorities, the rioters also set fires, blocked roads and smashed traffic lights with hammers.

A video showed truncheon-wielding riot officers squirting pepper spray directly at a photographer in a group of journalists and ganging up to beat him.

An online media site, Mad Dog Daily, said its photographer was beaten and detained, but could not confirm he was the same one being beaten in the video.

Hong Kong Protests
Protesters wave flags that say Hong Kong Independence (Mark Schiefelbein/AP)

That violence and scattered confrontations in shopping malls earlier Sunday, where police also squirted pepper spray and made several arrests, ended what had been a break of a couple of weeks in conflicts between police and protesters.

Police said they arrested 31 people Sunday and 99 over the past week, taking the total number arrested since June to beyond 6,100. They also said that officers fired 27 tear gas rounds on Sunday.

Protesters in Hong Kong said they do not expect Beijing leaders to ditch Ms Lam in the foreseeable future, because that would be an embarrassment for them and hand too large a victory to the protest movement.

“If they did change, let her step down, then that means that it’s a loss in the battle,” protester Fong Lee, a social worker, said at a rally in Hong Kong on Sunday.

“The Communist Party wouldn’t do that.”