China is flatly denying President Trump’s accusation that it is interfering in November’s midterm elections, implying that it is the United States that has a track record of meddling in other countries’ business.

With an acrimonious trade dispute rumbling on and amid an increasingly fractious security environment, the latest tit-for-tat could worsen the relationship between the world’s two largest economies.

“I believe the international community knows very well who is most used to meddling in the internal affairs of others,” Geng Shuang, a spokesman for the Chinese Foreign Ministry, told reporters Thursday. He did not name the United States directly but was responding to a question about Trump’s assertion Wednesday at the United Nations that Beijing was attempting to influence the midterms.

“They do not want me or us to win, because I am the first president to ever challenge China on trade,” Trump said at a U.N. Security Council meeting, “and we are winning on trade — we are winning on every level.”

But the president and his top aides offered no evidence or even anecdotes to support the contention that China was interfering. 

Trump’s ire appeared sparked by a four-page supplement that the China Daily, an English-language publication owned by the Chinese government, bought in the Des Moines Register on Sunday.

Asked about the newspaper ads, Geng said the idea that they amounted to election interference was “totally far-fetched and fictional.”

“We advise the U.S. side to stop its unwarranted accusations and slander against China and refrain from wrong words and deeds that might hurt our bilateral relations and fundamental interests,” he said.

The pages in the Des Moines Register were laid out newspaper-style, with a small note at the top labeling them as a China Daily supplement. The lead headline declared, “Duel undermines the benefits of trade” — exactly the same message that has been plastered across China’s state-owned newspapers these past few weeks as the government tries to hammer home the message that the trade war is bad for Americans.

Another headline read, “Dispute: Fruit of a president’s folly,” although there was lighter content, too — about robotics and a fashion entrepreneur and President Xi Jinping’s “fun days in Iowa.”

China, among other countries, has a long history of using ads in newspapers, including in The Washington Post, to get across messages that it would have trouble persuading professional journalists to print.

Iowa was a prime target for China for a number of reasons. For one, its status as the first state to vote during presidential primary season gives it outsize influence over the U.S. electoral process.

Second, it has a special status in the bilateral relationship. Long before he became China’s president, Xi traveled to Muscatine, Iowa, to learn about agriculture.

Third, Iowa, a major grower of soybeans and producer of pork, stands to suffer from an extended trade war. 

The Iowa governor’s race is shaping up to be very close. The latest polls suggest that Fred Hubbell, the Democratic candidate who vows to increase the state’s exports, has an edge over the incumbent Republican, Kim Reynolds.

“Anyone who knows anything about China could have told Donald Trump that China would look for ways to retaliate,” said Paul Haenle, a China adviser to Presidents George W. Bush and Barack Obama.

“And now Trump is worried about being blamed if there is a GOP loss in Iowa, so he’s trying to get ahead of that,” said Haenle, now director of the Carnegie-Tsinghua Center in Beijing.

The Global Times, a nationalist tabloid that often reflects the Chinese government’s thinking, said Trump's accusations are part of his “creative campaign strategy” to malign China and try to attract more votes for Republicans in the midterms.

The paper did not mince its words about the American president’s recent rhetoric. “Trump routinely applauds himself for his achievements and has already declared victory over the trade war against China,” it said in an editorial. “However, if all of it were true, then Trump wouldn't have worry about China's alleged meddling in U.S. elections.” 

Yang Liu contributed to this report.