Pro-democracy candidates in Hong Kong appeared set for a landslide victory in the first polls since the start of anti-government protests in the city.

Record numbers of people turned out to vote in the district council election which are seen as a test of support for Carrie Lam, the pro-Beijing chief executive.

Partial results suggested that, as of 00.06 local time [22.00 GMT], establishment candidates had only won around 41 seats, compared to at least 300 for pro-democracy candidates, out of a total of 457, according to local media.

Hong Kong’s district councils control some spending and decide issues such as recycling and public health.

If the pro-democracy camp gains control, it could get six seats on Hong Kong’s semi-representative Legislative Council and 117 seats on the 1,200-member panel that selects the city’s chief executive.

Hong Kong protests: Latest after court strikes down face mask ban Show all 24 1 /24 Hong Kong protests: Latest after court strikes down face mask ban Hong Kong protests: Latest after court strikes down face mask ban Police in riot gear move through a cloud of smoke as they detain a protester at the Hong Kong Polytechnic University AP Hong Kong protests: Latest after court strikes down face mask ban A protester takes cover under an umbrella Reuters Hong Kong protests: Latest after court strikes down face mask ban A protestor reacts to police officers EPA Hong Kong protests: Latest after court strikes down face mask ban Pro-democracy protesters react after the police fired tear gas outside the Hong Kong Polytechnic University EPA Hong Kong protests: Latest after court strikes down face mask ban A pro-democracy protester holds a placard EPA Hong Kong protests: Latest after court strikes down face mask ban Protesters react as police fire tear gas AFP via Getty Hong Kong protests: Latest after court strikes down face mask ban An anti-government protester is silhouetted during protests Reuters Hong Kong protests: Latest after court strikes down face mask ban Tear gas engulf umbrellas Reuters Hong Kong protests: Latest after court strikes down face mask ban A protester lowers himself down a rope from a bridge to a highway, to escape AFP via Getty Hong Kong protests: Latest after court strikes down face mask ban People form a human chain to pass materials as they gather for a march towards Hong Kong Polytechnic University AFP via Getty Hong Kong protests: Latest after court strikes down face mask ban Protesters are seen after leaving the campus of the Hong Kong Polytechnic University Reuters Hong Kong protests: Latest after court strikes down face mask ban Pro-democracy protesters during clashes with police outside the Hong Kong Polytechnic University EPA Hong Kong protests: Latest after court strikes down face mask ban Police spray blue-dyed liquid AP Hong Kong protests: Latest after court strikes down face mask ban Protesters are sprayed with blue liquid from water cannon during clashes with police outside Hong Kong Polytechnic University (PolyU) in Hong Kong, China, November 17, 2019. REUTERS/Tyrone Siu TYRONE SIU Reuters Hong Kong protests: Latest after court strikes down face mask ban Police officers detain a protester AP Hong Kong protests: Latest after court strikes down face mask ban An injured protester is evacuated by ambulance EPA Hong Kong protests: Latest after court strikes down face mask ban Injured people are taken away after clashes Getty Hong Kong protests: Latest after court strikes down face mask ban A protester throws back a tear gas canister fired by police at the Hong Kong Polytechnic University in Hong Kong on November 17, 2019. - Hong Kong police fired tear gas on November 17 morning at protesters intent on keeping their stranglehold on a major tunnel as pro-democracy activists vowed to "squeeze the economy" into next week. (Photo by Ye Aung Thu / AFP) (Photo by YE AUNG THU/AFP via Getty Images) YE AUNG THU AFP via Getty Hong Kong protests: Latest after court strikes down face mask ban Police arrest anti-government protesters Getty Hong Kong protests: Latest after court strikes down face mask ban A protester's umbrella is seen on fire during clashes with police outside Hong Kong Polytechnic University (PolyU) in Hong Kong, China November 17, 2019. REUTERS/Athit Perawongmetha ATHIT PERAWONGMETHA Reuters Hong Kong protests: Latest after court strikes down face mask ban Medical staff carry a protester out of the campus of Hong Kong Polytechnic University Reuters Hong Kong protests: Latest after court strikes down face mask ban Protesters try to extinguish a tear gas canister Reuters Hong Kong protests: Latest after court strikes down face mask ban Protesters take a rope down from a bridge to a highway, to escape from Hong Kong Polytechnic University campus AFP via Getty Hong Kong protests: Latest after court strikes down face mask ban A protestor gestures during a confrontation with police AP

“This is the power of democracy. This is a democratic tsunami,” said Tommy Cheung, a former student protest leader who won a seat in the Yuen Long district close to China’s border.

“The performance of the pro-democracy camp will send a signal to Beijing,” said Andrew Li, a 22-year-old student who supported a pro-democracy candidate. “By ignoring people’s demands, it wakes up all Hong Kong people to come out and vote.”

After the polls closed at 22.30 local time [02.30 GMT], Barnabus Fung, the electoral affairs chief, said at least 2.94 million people voted – a turnout of 71 per cent and double the 1.47 million who took part four years ago.

Among the successful pro-democracy candidates were Lester Shum, a former student leader of the umbrella movement in 2014, and Kelvin Lam, who stood in after activist Joshua Wong was barred from running.

There was no major disruption during the day, despite recent attacks on candidates including Junius Ho, a pro-Beijing incumbent who suffered stab wounds earlier this month. Mr Ho lost to a pro-democracy challenger.

However the standoff continued at Polytechnic University, where protesters have been surrounded by police.

“The government needs to know that if they don’t answer our demands, we will continue demanding and the protests will not stop,” said a 26-year-old pro-democracy voter who gave her name as Cda.

Anti-government demonstrations began six months ago over an extradition bill that would have allowed people to be sent to mainland China for trial.

While the bill has since been withdrawn, protesters remain angry at alleged police brutality and what they see as Beijing’s interference in the freedoms promised to the former British colony when it returned to China in 1997.

Ms Lam pledged that her government would listen more closely to the views of district councils when she cast her ballot.

“I hope this kind of stability and calm is not only for today’s election, but to show that everyone does not want Hong Kong to fall into a chaotic situation again,” Ms Lam said.