After months of sometimes violent unrest in Hong Kong, an election with record turnout handed a big victory to pro-democracy local district council candidates, posing a new conundrum for Beijing and adding pressure on the city's leader.

In the run-up to the citywide elections Sunday, extreme clashes had broken out between riot police and anti-government protesters who had barricaded themselves in several universities.

The standoffs were stoked in part by the death of a protester after a fall, and the shooting of another by a police officer at point-blank range.