BANGKOK (AP) — Bangkok’s governor has won a second term, winning a close election that was overshadowed by Thailand’s national politics.

Sunday’s gubernatorial election was Bangkok’s first since it was paralyzed by deadly anti-government protests in 2010. The Red Shirt protesters were demanding fresh elections from then-Prime Minister Abhisit Vejjajiva of the Democrat party.

Bangkok is one of the few strongholds that the Democrats did not lose to the Pheu Thai party in the 2011 general election, and Sunday’s poll was seen as an important test for the Democrats.

Sukhumbhand Paribatra won re-election with 46.3 percent of the vote, while the Pheu Thai party candidate, Pongsapat Pongcharoen, had 39.7 percent.

Nearly 64 percent of Bangkok’s 4.2 million eligible voters turned out, the highest turnout for a gubernatorial election in the city’s history.

Sukhumbhand Paribatra

The Thai Democrat Party's Bangkok governor candidate Sukhumbhand Paribatra. Pic: AP.