Taiwan’s ruling Democratic Progressive Party (DPP) won nine of the 22 contests for mayors and county chiefs on Saturday, up from five in 2022. Taipei Mayor Chiang Wan-an of the opposition Kuomintang (KMT) defeated the DPP’s Puma Shen to keep the capital in KMT hands. The DPP last held the mayor’s office there in 1998.

Local media reported that the KMT won 12 races, two fewer than in 2022, and the Taiwan People’s Party won one city. Voters elected the mayors and county chiefs to four-year terms. President Lai Ching-te campaigned for DPP candidates. The KMT, which favors closer ties with China and traditionally does well in local elections, sought to defend its strongholds.

Shen began the Taipei race as an underdog but drew large crowds to his rallies. Thousands also turned out for Chiang, who is seen as a possible future presidential candidate.

The DPP acknowledged Shen’s defeat on Saturday evening. Conceding before thousands of supporters, Shen urged them to respect the result. He called the election a victory for Taiwan’s democracy regardless of who won. Chiang thanked voters, saying their support showed they valued his administration’s work in Taipei over the past four years.

Transport, childcare and the environment were among the issues facing Taiwan’s cities and counties. Relations with China were not a major campaign issue, but Beijing followed the elections closely. Taiwan’s government warned voters about false reports on social media, citing what it described as a Chinese disinformation campaign.

Beijing claims Taiwan under its “One China” principle. It has stepped up pressure on Taiwan to accept that claim and has threatened to take the island by force. Beijing denounced Shen and imposed sanctions on him, and Chinese police want him over allegations of separatism. Earlier in November, Shen said the police had never contacted him. He cast the election itself as a victory for democracy in the face of Beijing’s pressure.

Austin Wang, a political science professor at the University of Nevada, told AFP that Beijing would have seen a progressive candidate’s victory in a KMT stronghold like Taipei as an embarrassment.

Analysts cautioned that local results are a poor guide to how Taiwan will vote for president in 2028. The results could, however, influence whom the KMT nominates. Lai is likely to have the DPP’s backing for reelection.

The leading prospects for the KMT nomination are Lu Shiow-yen, the outgoing mayor of Taichung, and Han Kuo-yu, the speaker of parliament. KMT chairwoman Cheng Li-wun is another possible contender. Her pro-Beijing stance has alienated many in her party, and a poor local showing could put her under pressure to resign as chair.