Taiwan’s main opposition party, the Kuomintang (KMT), held on to the mayor’s office in the capital, Taipei, in local elections Saturday, while the ruling Democratic Progressive Party (DPP) won back the central city of Taichung and gained ground elsewhere, according to unofficial results.

Taipei Mayor Chiang Wan-an won a second term with 781,312 votes, or 53.72%, against 664,586 votes, or 45.69%, for DPP legislator Puma Shen, according to Central Election Commission counts compiled by Radio Taiwan International and broadcaster TVBS. Turnout in the capital was 72.1%. Shen called Chiang to concede on Saturday evening, Taiwan’s Central News Agency reported.

Across Taiwan’s 22 cities and counties, KMT candidates won 11 mayor and magistrate races, the DPP 10 and an independent one, according to Radio Taiwan International’s tally. The DPP’s Ho Hsin-chun took Taichung with 50.7% to 48.4% for the KMT’s Johnny Chiang, and the party held Tainan and Kaohsiung. The KMT won New Taipei and Taoyuan. In the 2022 local elections the KMT won 14 races and the DPP five, Al Jazeera reported. The election commission is scheduled to certify winners Dec. 4.

“No matter the outcome, no matter who the winner is, at the end of the day, it’s a win for democracy,” Shen told supporters, according to CNA. Chiang said the result showed that a “silent majority” in Taipei wanted “stability, prosperity and practical solutions to problems, rather than political noise and division,” the BBC reported.

China, which claims Taiwan as its territory, had called Shen a “danger to stability,” the BBC reported; he is under sanctions by Beijing. Taiwan’s defense ministry said 33 Chinese military aircraft and eight warships operated around the island between Friday and Saturday mornings, according to Al Jazeera. After the vote, China’s Taiwan Affairs Office said no change in Taiwan’s political landscape could stop “the historical trend” of reunification, while Taiwan’s Mainland Affairs Council urged Beijing to engage with the island’s elected government with “no preconditions and equal dignity,” the BBC reported.

The results do not set China policy but are seen as a gauge of party strength ahead of the presidential election due in early 2028, in which President Lai Ching-te is widely expected to seek a second term. Lev Nachman, an associate professor at National Taiwan University, told the BBC that the DPP’s loss in Taipei does “take the wind out of” Lai’s re-election sails. William Yang of the International Crisis Group said the KMT’s loss of Taichung could hurt outgoing Mayor Lu Shiow-yen, seen as a leading contender for her party’s presidential nomination.