US President Joe Biden hailed closer ties with Vietnam on Sunday as the two countries struck a deal to deepen cooperation, including on semiconductors, but said he was not aiming to contain China.
The "comprehensive strategic partnership" with Hanoi is part of Washington's push to bolster its network of allies around Asia and the Pacific in the face of Beijing's rising influence.
Biden accused Beijing of seeking to bend the international order to its will.
"One of the things that is going on now is China is beginning to change some of the rules of the game, in terms of trade and other issues," Biden said.
Sometimes to Beijing's chagrin, Washington has invested heavily in building alliances as part of its Indo-Pacific strategy, including the Quad security dialogue with India, Australia and Japan, and the AUKUS pact with Britain and Australia.
Biden said he wanted establish clear ground rules for relations.
"I don't want to contain China. I just want to make sure we have a relationship with China that is on the up and up, squared away, everybody knows what it's all about," he said.
Biden flew in to Hanoi straight from a G20 summit that failed to agree to a phase-out of fossil fuels and highlighted deep divisions over the Russian invasion of Ukraine.
The new partnership includes an agreement on semiconductors, with the United States committing to help Vietnam develop its capabilities and expand production.
Read more on FRANCE 24 English
Biden to visit Vietnam in effort to counter China
Trade truce: US-China tensions cool, but is a trade war still possible?
US special envoy John Kerry in China to restart stalled climate talks