Hanoi - US President Barack Obama on Monday scrapped a Cold War-era ban on weapons sales to Vietnam, as ties between the former foes grow closer thanks to trade and mutual fears of Chinese expansion in disputed seas.
The announcement, made at the start of Obama's three-day visit to Vietnam, could strengthen Hanoi's hand against Beijing, which has been increasingly assertive in its claims to contested areas of the South China Sea.
"Over the past century, our two nations have known cooperation and then conflict, painful separation, and a long reconciliation," Obama said at a press conference alongside Vietnam's President Tran Dai Quang.
The move, Obama added, was not prompted by China's regional manoeuvres but came as the countries entered a "new moment" taking them towards a "normalisation" of ties.
Quang welcomed the rollback of the ban, hailing the shared "common concerns and interests" that now bind the two countries.
The Obama administration has pitched this week's trip as an opportunity to push ties beyond the period of rapprochement, with Vietnam a vital plank in America's much vaunted pivot to the Asia-Pacific.
The visit is Obama's first to the country - and the third by a sitting president since the end of the Vietnam War in 1975. Direct US involvement in the conflict ended in 1973.
Obama said he was "moved" to see thousands of locals lining Hanoi's streets, craning with smartphones in hand for a view of his motorcade.
The nations have experienced an astonishing turnaround in their relations, from bitter foes to regional allies.
Until now Vietnam's dismal human rights record has weighed against a full rollback of the arms embargo.
The one-party state still ruthlessly cracks down on protests, jails dissidents, bans trade unions and controls local media.
In a muted reference to its parlous rights situation, Obama said Washington still had differences with Vietnam on human rights but "modest progress" had been made.
That sentiment jarred with some of the country's long-persecuted dissidents.
"They (Vietnam) have not changed anything in terms of basic core values when it comes to human rights," blogger Huynh Ngoc Chenh told AFP, while noting he was glad the embargo was lifted.
Human Rights Watch said Obama had "jettisoned what remained of US leverage to improve human rights in Vietnam".
Trade dominated much of the first day of the unusually long trip.
A series of deals were unveiled worth some US$16 billion (S$22 billion), including an agreement for VietJet, Vietnam's privately-owned budget airline, to spend US$11.3 billion on Boeing passenger jets.
Both nations have long pushed for closer trade ties. Obama said he was confident Congress would ratify the 12-nation Trans-Pacific Partnership trade deal, which includes Vietnam and spans 40 percent of the global economy.
Quang welcomed the TPP, committing Vietnam "to fully implementing" all of its clauses which include recognition of workers' rights.
China, which remains under its own US arms embargo since the 1989 Tiananmen crackdown, officially welcomed the decision to lift the embargo on Vietnam - calling such measures "a product of the Cold War".
"It should never have existed," foreign ministry spokeswoman Hua Chunying told reporters.
While it is by far the country's largest trade partner, a deep distrust of China historically runs through Vietnam.
In contrast America has rarely, if ever, been so popular among ordinary Vietnamese.
A poll last year by the Pew Research Centre found 78 percent of Vietnamese have a favourable view of the United States, the third highest in Asia after the Philippines and South Korea.
The approval rate was even higher among young people in a nation where the median age is around 29.
Like most Vietnamese, 25-year-old Doan Quang Vinh from Hanoi was born long after the war.
"For me, the American war against Vietnam is a matter of the past, and though we must not forget the past, we should not dwell on it. We should look towards the future," he told AFP.
Later Monday Obama held talks with de facto leader Nguyen Phu Trong, the general secretary of the Communist Party.
Trong and Obama met last July, when he was given a prestigious Oval Office meeting.
The pair shook hands Monday in a room with a large bust of Vietnam's Communist icon Ho Chi Minh. Trong hailed "a very historic visit which will open up a new chapter" in relations.
On Tuesday afternoon Obama will fly to Ho Chi Minh City to meet tech entrepreneurs and hold one of his trademark town hall gatherings with young people.