Donald Trump has signed into law legislation effectively backing civil rights protesters in Hong Kong.
The bill is bound to antagonise Beijing at a time when the president is trying to end a trade war with China.
It requires the State Department to certify, at least annually, that Hong Kong retains enough autonomy to justify favourable US trading terms. It also threatens sanctions for human rights violations.
A second bill banning the export of teargas, pepper spray, rubber bullets and stun guns to the Hong Kong police was also signed by President Trump.
In statement he said: “I signed these bills out of respect for President Xi, China, and the people of Hong Kong. They are being enacted in the hope that Leaders and Representatives of China and Hong Kong will be able to amicably settle their differences leading to long term peace and prosperity for all.”
The Hong Kong government has said it strongly opposes the US stance and regrets Mr Trump’s backing for the legislation.
it said it would send the wrong signal to protesters and would not help ease the situation in Hong Kong.
Until he actually signed the bills, Mr Trump had been evasive about whether he would back them at a time of delicate trade negotiations with China.
But it appears his hand was forced by the overwhelming support for both pieces of legislation in the Senate and House of Representatives.
Last week he claimed he had saved Hong Kong from being “obliterated in 14 minutes” by persuading Chinese leader Xi Jinping not to send in troops to crush the pro-democracy activists.
What started in March as a protest against a proposed extradition bill between the former British colony and China has grown into a battle for its identity, with demonstrators fighting to prevent what they regard as the erosion of the autonomy and democratic freedoms of Hong Kong.
Earlier this week Pro-democracy candidates scored a huge victory in district council elections, which have left them in control of all but one of the local authorities that were up for grabs in Hong Kong.