Hong Kong leader Carrie Lam said she was "satisfied" with the election despite the 30.2% voter turnout being the lowest since the British handed Hong Kong over to China in 1997.
During months of protests, the territory's chief executive has suffered setbacks in the streets and at the ballot box. But she still enjoys support from China, where she paid a visit Monday.
While Chief Executive Carrie Lam vowed to listen "humbly" to voters, her backers in Beijing broadcast defiance. The election gave protesters a symbolic win, but its tangible impact remains in doubt.
An elections official said the pro-democracy activist's call for "self-determination" in the Chinese territory was inconsistent with pledging allegiance to the city and its constitution.
Protesters rained down bricks and Molotov cocktails on government buildings and riot police deployed tear gas in some of the most forceful police responses since protests began in early June.
Chief Executive Carrie Lam announced she is withdrawing the proposed law, which had set off protests now entering their fourth month. Protesters' demands, however, have grown in number.
Scores of protesters furious with Hong Kong's government poured into the legislative chamber and graffitied the walls. The chaos came on the 22nd anniversary of Hong Kong's return to Chinese control.
"Hello world and hello freedom," said the activist, who served a month on a contempt of court charge. Wong called on Hong Kong's leader to resign after protests over a controversial extradition bill.
Chief Executive Carrie Lam says her management of an extradition bill caused "disputes in society." Protesters say they want the bill scrapped and Lam to step down.