U.S. Secretary of State Mike Pompeo renewed the Trump administration’s rhetorical onslaught against China in Indonesia on Thursday as the American presidential election looms.

With China a central theme in President Donald Trump’s campaign to win a second term in just five days time, Pompeo took aim at Chinese aggressiveness in the South China Sea, where it has advanced maritime and territorial claims over the objections of its smaller neighbors, and over its handling of the coronavirus pandemic.

Speaking in Jakarta, the headquarters of the Association of Southeast Asian Nations, Pompeo praised Indonesia’s leadership in ASEAN for pushing back on what he called China’s “unlawful” claims and lauded Jakarta's protection of its own territory.

U.S. Secretary of State Mike Pompeo and his wife Susan visit St. Anthony's church, one of the sites of the 2019 Easter Sunday attacks, in Colombo, Sri Lanka, Wednesday, Oct. 28, 2020. Pompeo plans to press Sri Lanka to push back against Chinese assertiveness, which U.S. officials complain is highlighted by predatory lending and development projects that benefit China more than the presumed recipients. The Chinese Embassy in Sri Lanka denounced Pompeo's visit to the island even before he arrived there, denouncing a senior U.S. official's warning that the country should be wary of Chinese investment. (AP PhotoEranga Jayawardena, Pool)

U.S. Secretary of State Mike Pompeo and his wife Susan visit St. Anthony's church, one of the sites of the 2019 Easter Sunday attacks, in Colombo, Sri Lanka, Wednesday, Oct. 28, 2020. Pompeo plans to press Sri Lanka to push back against Chinese assertiveness, which U.S. officials complain is highlighted by predatory lending and development projects that benefit China more than the presumed recipients. The Chinese Embassy in Sri Lanka denounced Pompeo's visit to the island even before he arrived there, denouncing a senior U.S. official's warning that the country should be wary of Chinese investment. (AP PhotoEranga Jayawardena, Pool)

“We respect freedom of the seas, sovereignty and the rule of law,” he said, standing beside Indonesian Foreign Minister Retno Marsudi. Marsudi agreed, saying “international law must be respected,” although she did not specifically mention China.

“Our law-abiding nations reject the unlawful claims by Chinese Communist Party in the South China Sea as is clear from Indonesia’s courageous leadership on this subject within ASEAN and at the United Nations," Pompeo said. "It’s a cause worth pursuing in multilateral settings and the Trump administration very much supports this.”

Earlier this year, the Trump administration clarified its longstanding policy on the disputes by rejecting outright nearly all of Beijing’s maritime claims in the South China Sea. That decision in July came as Trump began a concerted effort to use China as a campaign cudgel against his Democratic challenger, former Vice President Joe Biden, who he paints as weak on China and beholden to it.

U.S. Secretary of State Mike Pompeo visits St. Anthony's church, one of the sites of the 2019 Easter Sunday attacks, in Colombo, Sri Lanka, Wednesday, Oct. 28, 2020. Pompeo plans to press Sri Lanka to push back against Chinese assertiveness, which U.S. officials complain is highlighted by predatory lending and development projects that benefit China more than the presumed recipients. The Chinese Embassy in Sri Lanka denounced Pompeo's visit to the island even before he arrived there, denouncing a senior U.S. official's warning that the country should be wary of Chinese investment. (AP PhotoEranga Jayawardena, Pool)

U.S. Secretary of State Mike Pompeo visits St. Anthony's church, one of the sites of the 2019 Easter Sunday attacks, in Colombo, Sri Lanka, Wednesday, Oct. 28, 2020. Pompeo plans to press Sri Lanka to push back against Chinese assertiveness, which U.S. officials complain is highlighted by predatory lending and development projects that benefit China more than the presumed recipients. The Chinese Embassy in Sri Lanka denounced Pompeo's visit to the island even before he arrived there, denouncing a senior U.S. official's warning that the country should be wary of Chinese investment. (AP PhotoEranga Jayawardena, Pool)

Previously, U.S. policy had been to insist that maritime disputes between China and its smaller neighbors be resolved peacefully through U.N.-backed arbitration. But in a July 13 statement, Pompeo said the U.S. now regards virtually all Chinese maritime claims outside its internationally recognized waters to be illegitimate.

China has pressed ahead with attempts to enforce its disputed claims in the South China Sea, leading to serious spats with Vietnam, the Philippines and Malaysia in recent years. It has ignored arbitration rulings that the disputes must be negotiated.

In making the U.S. announcement, Pompeo said China cannot legally claim the James Shoal near Malaysia, waters surrounding the Vanguard Bank off Vietnam, the Luconia Shoals near Brunei or Natuna Besar off Indonesia. On Thursday, Pompeo said Indonesia's protection of Natuna Besar was commendable.

Pompeo arrived in Indonesia from the Maldives, where he announced the United States would for the first time open an embassy in the Indian Ocean archipelago, a move that reflects growing U.S. concern about increasing Chinese influence in the region.

“The Chinese Communist Party continues its lawless and threatening behavior,” Pompeo said in Male, just hours after accusing China of being a ”predator" during his previous stop in the Sri Lankan capital of Colombo.

“The Chinese Communist Party is a predator," he said.

Responding to Pompeo’s remarks, Chinese foreign ministry spokesperson Wang Wenbin said the secretary of state’s true intention was to “let China fall back to an era of poverty and un-development, and let the world fall into the abyss of confrontation and division.”

“This is just the biggest threat facing the world today. But regrettably, Pompeo was born in the wrong time. The trend of peace, development, cooperation and win-win in this era is irresistible,” Wang told reporters.