The first time I covered a Taiwan “election,” 38 years ago, the island was a dictatorship under martial law, with members of the opposition more likely to be tortured than to gain power.Government officials explained that modern democracy wasn’t fully compatible with Chinese culture, and one of my minders made a vague inquiry about paying me — apparently to see if a Times correspondent could be bribed.Taiwan lifted martial law the next year, 1987, and helped lead a democratic revolution in Asia, encompassing South Korea, Mongolia, Indonesia and others. Taiwan now ranks as more democratic than the United States, Japan or Canada, according to the most recent ratings by the Economist Intelligence Unit, and the island is now caught up in boisterous campaigning for presidential and legislative elections on Saturday.(The campaigning has mostly gone smoothly but not entirely so: As a gimmick, one Taiwanese party handed out 460,000 laundry detergent pods to win support. Some voters unfortunately mistook the pods for food.)The stakes here are enormous, for President Biden has repeatedly said that the United States would defend Taiwan from a military assault by China, and the policies of the new government may shape the risk of such a confrontation. The importance of the outcome to China is reflected in Beijing’s efforts to manipulate it — and perhaps we Americans can learn something here about resisting election interference.“What China has been trying to do is use Taiwan as a test ground,” Taiwan’s foreign minister, Joseph Wu, told me. “If they are able to make a difference in this election, I’m sure they are going to try and apply this to other democracies.”China resisted Asia’s democratic tide — yet it seems to want a vote in Taiwan’s election.Flags representing different political parties.An Rong Xu for The New York Times“Whenever Taiwan holds an election, China interferes — but this time it’s the most severe,” Vice President William Lai, who is leading in the presidential polls, told foreign reporters.The Chinese government has made no secret of its unhappiness with Lai’s candidacy, because he and his Democratic Progressive Party view Taiwan as effectively independent rather than as part of China. Beijing sees Lai as a secessionist, calling him a “destroyer of peace” and warning that he could be “the instigator of a potential dangerous war.”Paradoxically, China’s Communist Party appears to favor a victory by its historical enemy, the Kuomintang. That’s because the Kuomintang welcomes closer economic ties with China and opposes Taiwan’s becoming an independent country.In an effort to increase the chances of the Kuomintang presidential candidate, Hou Yu-ih, China appeared to pressure a billionaire businessman, Terry Gou, who operates factories in China making Apple products, to drop out of the race. Gou claimed to have backing from Mazu, a sea goddess, but the Communist Party must have prevailed over the goddess: Gou did indeed drop out.Meanwhile, networks on Facebook and TikTok are spreading Chinese propaganda in Taiwan as part of an election manipulation strategy, according to a research organization here. The networks mostly disparage Lai and other Democratic Progressives while raising suspicions about the United States.China has lately sent a series of intimidating large balloons — perhaps weather or surveillance balloons — over Taiwan. Some see the purpose as rattling the Taiwanese in the run-up to the election and warning them of the risks of electing Democratic Progressives.Then there are other accusations that are more difficult to assess. A Democratic Progressive candidate accused China of circulating a deepfake video of him engaged in a sex act. The cabinet called for an investigation.The best antidote to Chinese manipulation may be calling attention to it. In the past, Chinese election meddling in Taiwan has backfired, and Lai seems happier talking about Chinese manipulations than about the frustration voters feel about out-of-control Taiwan housing prices and government corruption.Presidential candidate William Lai, at a rally.An Rong Xu for The New York TimesOne reason for the global attention on Taiwan’s election is the backdrop of concern about the risk of conflict in the Taiwan Strait. Some in the Taiwan opposition warn that the danger will be greater if the next president is someone who flirts with Taiwan independence, like Lai. Partly because of accusations that he might poke China unnecessarily, Lai has gone out of his way to say that he will continue the policies of President Tsai Ing-wen — whom Beijing also can’t stand but who has been cautious about provoking China.The White House has called on “outside actors” — read: “China”— to avoid interfering in Taiwan’s elections, and I hope that Beijing will get the message that manipulations can backfire. Unfortunately, I suspect that the reality is nuanced: Blatant election bullying is counterproductive, but more subtle manipulations on TikTok or Facebook may succeed if they elude scrutiny. We in the press didn’t pay enough attention to foreign manipulation in the 2016 U.S. election; we must do better.One last thought: As I cover these Taiwan elections and think back to the first one I covered in Taiwan, I keep reflecting: When will change ever come to China?It wasn’t obvious in the 1980s which countries in Asia would democratize and which wouldn’t — and then rising education levels and a growing middle class led to a flowering in countries near China even as the Middle Kingdom itself became more repressive, especially in recent years under Xi Jinping.Beijing feels bleak today — but considering the transformation on an island once under prolonged martial law and a similarly autocratic regime, it may be that the place where it’s easiest to be optimistic about China is actually here in the thriving young democracy of Taiwan during election week.The Times is committed to publishing a diversity of letters to the editor. We’d like to hear what you think about this or any of our articles. Here are some tips. And here’s our email: letters@nytimes.com.Follow the New York Times Opinion section on Facebook, Instagram, TikTok, X and Threads. More