The US House of Representatives has passed a bill sought by pro-democracy protesters in Hong Kong that aims to defend civil rights in the semi-autonomous territory, prompting an angry response from China.

The Hong Kong Human Rights and Democracy Act, which will now move to the Senate before it can become law, has drawn rare bipartisan support in a polarized Congress.

The law would end the Hong Kong-US special trading status unless the State Department certifies annually that city authorities are respecting human rights and the rule of law.

China expressed “strong indignation” over the passing of the act, which also requires the US president to identify and sanction people who are responsible for the erosion of autonomy and serious abuses of human rights in Hong Kong.

“What Hong Kong faces is not the so-called human rights and democracy issue at all, but the issue of stopping violence, reinstating order and upholding the rule of law as soon as possible,” said foreign ministry spokesman Geng Shuang in a statement.

Geng said the US should “stop meddling” and warned China would take “strong measures” to counter the proposed Hong Kong bill.

The act will now move to a similar vote in the Senate before it can become law.

The move was welcomed by pro-democracy figures inside Hong Kong. Activist Joshua Wong thanked the House for its support.

Today in the House of Representatives:



4:06 p.m. - Hong Kong Human Rights and Democracy Act passed

4:30 p.m. - PROTECT Hong Kong Act passed



Thank you, @SpeakerPelosi for your leadership, and to @RepChrisSmith, @RepMcGovern, @RepEliotEngel and @RepMcCaul for all your support! pic.twitter.com/BG4cI0w71F — Joshua Wong 黃之鋒 😷 (@joshuawongcf) October 15, 2019

“Today we’re simply urging the Chinese president and the Hong Kong Chief Executive, Carrie Lam, to faithfully honor the government’s promises” that Hong Kong’s rights and autonomy would be protected, Republican Representative Chris Smith, prime sponsor of the bill, said Tuesday on the House floor.

Nancy Pelosi, the House speaker, said on Twitter she was proud to support the bill.

On one side, you have a repressive regime crushing democratic freedoms in #HongKong. On the other, you have young people speaking out for freedom & democratic reforms. Proud to stand with @RepMcGovern in support of today’s bipartisan votes showing the House’s commitment to HK. pic.twitter.com/fmwA6KkR7b — Nancy Pelosi (@SpeakerPelosi) October 16, 2019

China has frequently accused “external forces” of fuelling weeks of unrest in the global financial hub.

Millions have taken to the streets of Hong Kong, initially against a now-dropped bid by its leaders to allow extraditions to the authoritarian Chinese mainland.

The months-long movement has expanded into a broader pro-democracy push in the territory where activists say freedoms are being eroded by Beijing, despite being written into a deal the deal that governed Hong Kong’s 1997 transfer to China from British colonial rule.

“The House just sent a strong message to the people of Hong Kong: We stand with you in the fight for democracy and justice,” said Ben Ray Lujan, a House Democrat.

Republican House member Mario Diaz-Balart said the Act ensures “that the special relationship with Hong Kong endures only as long as Hong Kong retains the autonomy and freedoms that justify that special relationship.”

The House also approved, by a similar voice vote, a related bill to prohibit the export of certain non-lethal crowd control items such as tear gas to Hong Kong.

Amnesty International has accused the city’s officers of using excessive force, although the police say they have exercised restraint.

A separate house resolution called on the Hong Kong government to begin negotiations to address the demonstrators’ demands, which include universal suffrage and an independent probe into police conduct.

Prominent Hong Kong activists testified before a congressional hearing last month in support of the legislation approved by the House on Tuesday.