Police detain protesters and students after they tried to flee outside the Hong Kong Polytechnic University campus in the Hung Hom district of Hong Kong on November 19, 2019. - A dwindling number of exhausted pro-democracy protesters barricaded inside the Hong Kong university defied warnings on November 19 to surrender, as a police siege of the campus stretched through a third day and China sent fresh signals that its patience with nearly six months of unrest was running out.
Nicolas Asfouri/AFP/Getty Images
Police detain protesters and students after they tried to flee outside the Hong Kong Polytechnic University campus in the Hung Hom district of Hong Kong on November 19, 2019. - A dwindling number of exhausted pro-democracy protesters barricaded inside the Hong Kong university defied warnings on November 19 to surrender, as a police siege of the campus stretched through a third day and China sent fresh signals that its patience with nearly six months of unrest was running out.
Now playing
03:11
Protesters attempt to flee Hong Kong university
Now playing
02:58
Hong Kong police fire tear gas on pro-democracy protesters
HONG KONG, HONG KONG - JUNE 09:  Protesters march on a street during a rally against the extradition law proposal on June 9, 2019 in Hong Kong China. Hundreds of thousands of protesters marched in Hong Kong in Sunday against a controversial extradition bill that would allow suspected criminals to be sent to mainland China for trial.(Photo by Anthony Kwan/Getty Images)
Anthony Kwan/Getty Images
HONG KONG, HONG KONG - JUNE 09: Protesters march on a street during a rally against the extradition law proposal on June 9, 2019 in Hong Kong China. Hundreds of thousands of protesters marched in Hong Kong in Sunday against a controversial extradition bill that would allow suspected criminals to be sent to mainland China for trial.(Photo by Anthony Kwan/Getty Images)
Now playing
04:14
The evolution of the Hong Kong protests
HONG KONG, CHINA - NOVEMBER 24: Barnabus Fung (2nd R) and Patrick Nip Tak-kuen (2nd L) empty a ballot box to count votes at a polling station on November 24, 2019 in Hong Kong, China. Hong Kong held its district council election on Sunday as anti-government protests continue into a sixth month, with demands for an independent inquiry into police brutality, the retraction of the word "riot" to describe the rallies, and genuine universal suffrage. (Photo by Billy H.C. Kwok/Getty Images)
Billy H.C. Kwok/Getty Images AsiaPac/Getty Images
HONG KONG, CHINA - NOVEMBER 24: Barnabus Fung (2nd R) and Patrick Nip Tak-kuen (2nd L) empty a ballot box to count votes at a polling station on November 24, 2019 in Hong Kong, China. Hong Kong held its district council election on Sunday as anti-government protests continue into a sixth month, with demands for an independent inquiry into police brutality, the retraction of the word "riot" to describe the rallies, and genuine universal suffrage. (Photo by Billy H.C. Kwok/Getty Images)
Now playing
03:03
Pro-democracy parties win big in Hong Kong election
A man walks past debris littering the entrance at the Hong Kong Polytechnic University campus in the Hung Hom district of Hong Kong on November 27, 2019, over a week after police surrounded the building while protesters were still barricaded inside. - Teams at one of Hong Kong's top universities picked through the chaotic aftermath of a violent occupation by protesters for a second day on November 27 as the school searches for elusive holdouts -- and a way forward for a devastated institution. (Photo by Anthony WALLACE / AFP) (Photo by ANTHONY WALLACE/AFP via Getty Images)
Anthony Wallace/AFP/Getty
A man walks past debris littering the entrance at the Hong Kong Polytechnic University campus in the Hung Hom district of Hong Kong on November 27, 2019, over a week after police surrounded the building while protesters were still barricaded inside. - Teams at one of Hong Kong's top universities picked through the chaotic aftermath of a violent occupation by protesters for a second day on November 27 as the school searches for elusive holdouts -- and a way forward for a devastated institution. (Photo by Anthony WALLACE / AFP) (Photo by ANTHONY WALLACE/AFP via Getty Images)
Now playing
02:08
Allegations of mistreatment by Hong Kong police surface
Isaac Yee
Now playing
02:32
Protesters at Hong Kong Polytechnic University speak out
Police officers cordon off an area where pro-democracy protesters were shots by a policeman in Hong Kong on November 11, 2019. - A Hong Kong police officer shot at masked protesters -- hitting at least one in the torso -- during clashes broadcast live on Facebook, as the city's rush hour was interrupted by protests. (Photo by Anthony WALLACE / AFP) (Photo by ANTHONY WALLACE/AFP via Getty Images)
ANTHONY WALLACE/AFP/AFP via Getty Images
Police officers cordon off an area where pro-democracy protesters were shots by a policeman in Hong Kong on November 11, 2019. - A Hong Kong police officer shot at masked protesters -- hitting at least one in the torso -- during clashes broadcast live on Facebook, as the city's rush hour was interrupted by protests. (Photo by Anthony WALLACE / AFP) (Photo by ANTHONY WALLACE/AFP via Getty Images)
Now playing
00:46
21-year-old protester shot by Hong Kong police
Pedestrians prepare to cross a road in the popular shopping district of Causeway Bay in Hong Kong on October 30, 2019, a day before the citys third-quarter gross domestic product (GDP) figures are released. (Photo by Anthony WALLACE / AFP) (Photo by ANTHONY WALLACE/AFP via Getty Images)
Anthony Wallace/AFP via Getty Images
Pedestrians prepare to cross a road in the popular shopping district of Causeway Bay in Hong Kong on October 30, 2019, a day before the citys third-quarter gross domestic product (GDP) figures are released. (Photo by Anthony WALLACE / AFP) (Photo by ANTHONY WALLACE/AFP via Getty Images)
Now playing
01:56
Protests plunge Hong Kong into recession
Pro-democracy demonstrators hold up their hands to symbolise their five demands during a protest against an expected government ban on protesters wearing face masks at Chater Garden in Hong Kong on October 4, 2019. - Hong Kong's government was expected to meet October 4 to discuss using a colonial-era emergency law to ban pro-democracy protesters from wearing face masks, in a move opponents said would be a turning point that tips the financial hub into authoritarianism. (Photo by Mohd RASFAN / AFP) (Photo by MOHD RASFAN/AFP via Getty Images)
Mohd Rasfan/AFPGetty Images
Pro-democracy demonstrators hold up their hands to symbolise their five demands during a protest against an expected government ban on protesters wearing face masks at Chater Garden in Hong Kong on October 4, 2019. - Hong Kong's government was expected to meet October 4 to discuss using a colonial-era emergency law to ban pro-democracy protesters from wearing face masks, in a move opponents said would be a turning point that tips the financial hub into authoritarianism. (Photo by Mohd RASFAN / AFP) (Photo by MOHD RASFAN/AFP via Getty Images)
Now playing
02:00
Hong Kong leader bans wearing masks at protests
HONG KONG, CHINA - AUGUST 24:  A riot police fires rubber bullet at protesters during an anti-government rally in Kowloon Bay district on August 24, 2019 in Hong Kong, China. Pro-democracy protesters have continued rallies on the streets of Hong Kong against a controversial extradition bill since 9 June as the city plunged into crisis after waves of demonstrations and several violent clashes. Hong Kong's Chief Executive Carrie Lam apologized for introducing the bill and declared it "dead", however protesters have continued to draw large crowds with demands for Lam's resignation and completely withdraw the bill. (Photo by Anthony Kwan/Getty Images)
Anthony Kwan/Getty Images AsiaPac/Getty Images
HONG KONG, CHINA - AUGUST 24: A riot police fires rubber bullet at protesters during an anti-government rally in Kowloon Bay district on August 24, 2019 in Hong Kong, China. Pro-democracy protesters have continued rallies on the streets of Hong Kong against a controversial extradition bill since 9 June as the city plunged into crisis after waves of demonstrations and several violent clashes. Hong Kong's Chief Executive Carrie Lam apologized for introducing the bill and declared it "dead", however protesters have continued to draw large crowds with demands for Lam's resignation and completely withdraw the bill. (Photo by Anthony Kwan/Getty Images)
Now playing
01:28
Hong Kong protests take violent turn
Satellite imagery shows Chinese military vehicles congregating near Hong Kong border. As sweeping protests persist in Hong Kong, satellite imagery purports to show Chinese military vehicles gathering in Shenzen -- near Hong Kong's border with mainland China. Recently-arrived vehicles can be seen at the Shenzen Bay Sports Center, across the harbor from Hong Kong.
Satellite image ©2019 Maxar Technologies
Satellite imagery shows Chinese military vehicles congregating near Hong Kong border. As sweeping protests persist in Hong Kong, satellite imagery purports to show Chinese military vehicles gathering in Shenzen -- near Hong Kong's border with mainland China. Recently-arrived vehicles can be seen at the Shenzen Bay Sports Center, across the harbor from Hong Kong.
Now playing
03:03
Chinese paramilitary posts near Hong Kong amid protests
Chief Executive Carrie Lam holds a press conference at the government headquarters in Hong Kong on July 9, 2019.
Anthony Wallace/AFP/Getty Images
Chief Executive Carrie Lam holds a press conference at the government headquarters in Hong Kong on July 9, 2019.
Now playing
02:03
Hong Kong chief executive says extradition bill is dead
Anti-extradition protesters move barricades on a street outside the Legislative Council Complex ahead of the annual flag raising ceremony of 22nd anniversary of the city's handover from Britain to China on July 1, 2019 in Hong Kong, China. Pro-democracy demonstrators in Hong Kong have organized rallies over the past weeks, calling for the withdrawal of a controversial extradition bill, the resignation of the territory's chief executive Carrie Lam, an investigation into police brutality, and drop riot charges against peaceful protesters. (Photo by Anthony Kwan/Getty Images)
Anthony Kwan/Getty Images
Anti-extradition protesters move barricades on a street outside the Legislative Council Complex ahead of the annual flag raising ceremony of 22nd anniversary of the city's handover from Britain to China on July 1, 2019 in Hong Kong, China. Pro-democracy demonstrators in Hong Kong have organized rallies over the past weeks, calling for the withdrawal of a controversial extradition bill, the resignation of the territory's chief executive Carrie Lam, an investigation into police brutality, and drop riot charges against peaceful protesters. (Photo by Anthony Kwan/Getty Images)
Now playing
02:34
Protesters clash with police in Hong Kong
Reuters
Now playing
02:13
Hong Kong suspends controversial extradition bill
Chinese, left, and Hong Kong flags are displayed outside the Central Government Offices in Hong Kong, China, Saturday, Oct. 4, 2014. A week into demonstrations in Hong Kong notable for their order and endurance, protesters came under attack from opponents, highlighting the fault lines of a city torn between commercial interests and a desire for greater democracy. Photographer: Tomohiro Ohsumi/Bloomberg via Getty Images
Bloomberg/Bloomberg/Bloomberg via Getty Images
Chinese, left, and Hong Kong flags are displayed outside the Central Government Offices in Hong Kong, China, Saturday, Oct. 4, 2014. A week into demonstrations in Hong Kong notable for their order and endurance, protesters came under attack from opponents, highlighting the fault lines of a city torn between commercial interests and a desire for greater democracy. Photographer: Tomohiro Ohsumi/Bloomberg via Getty Images
Now playing
02:12
Hong Kong and China: One country, two systems
HONG KONG, HONG KONG - JUNE 09:  Protesters march on a street during a rally against the extradition law proposal on June 9, 2019 in Hong Kong China. Hundreds of thousands of protesters marched in Hong Kong in Sunday against a controversial extradition bill that would allow suspected criminals to be sent to mainland China for trial.(Photo by Anthony Kwan/Getty Images)
Anthony Kwan/Getty Images
HONG KONG, HONG KONG - JUNE 09: Protesters march on a street during a rally against the extradition law proposal on June 9, 2019 in Hong Kong China. Hundreds of thousands of protesters marched in Hong Kong in Sunday against a controversial extradition bill that would allow suspected criminals to be sent to mainland China for trial.(Photo by Anthony Kwan/Getty Images)
Now playing
02:50
Citizens fear Hong Kong's future under extradition bill
(CNN) —  

Chinese officials and state media have reacted with fury to the almost-unanimous passage of the Hong Kong Human Rights and Democracy Act by the US House of Representatives on Wednesday.

Though the bill has yet to go before US President Donald Trump for consideration, China wasted little time in condemning the vote, with the state-owned People’s Daily describing it as “a piece of waste paper,” and a “serious provocation against the entire Chinese people” in an editorial published Thursday.

“If the US side goes its own way, China will take effective measures to resolutely counteract it, and all consequences must be fully borne by the US,” the editorial said.

The potential showdown risks undermining ongoing trade talks between Washington and Beijing during a critical juncture. Trump, who has yet to confirm whether he will sign the act, has so far appeared reticent to challenge China on the issue of Hong Kong, even promising Chinese President Xi Jinping in October that the US would remain silent on the city’s ongoing pro-democracy protests while trade talks continued.

The US government treats semi-autonomous Hong Kong, which has its own legal and political systems, differently from the Chinese mainland when it comes to trade and export controls. Should it become law, the Hong Kong Act would require the US government to annually confirm that those freedoms were being maintained by Beijing – failure to do so could result in Washington withdrawing the city’s special trading status, a massive blow to the Hong Kong economy.

Additionally, the bill also lays out a process for the President to impose sanctions and travel restrictions on those who are found to be knowingly responsible for arbitrary detention, torture, forced confession of any individual in Hong Kong, or other violations of internationally recognized human rights in the Asian financial hub.

A man waves a US and Hong Kong flag while standing on a divider after he and other protesters occupied Harcourt Road while marching against a controversial extradition bill in Hong Kong on July 21.
ANTHONY WALLACE/AFP via Getty Images
A man waves a US and Hong Kong flag while standing on a divider after he and other protesters occupied Harcourt Road while marching against a controversial extradition bill in Hong Kong on July 21.

The legislation, which is aimed at safeguarding freedoms in Hong Kong, comes as protests in the city near their sixth month.

’Violation of international law’

Chinese state-run media has been ramping up its criticism of the Hong Kong protests as the demonstrations have grown increasingly violent in recent weeks, even as momentum has sped up for the legislation in Washington.

Writing in his daily newsletter, Sinocism, China expert Bill Bishop, said that state television CCTV had 11 segments criticizing the US and the legislation during its evening news on Wednesday night.

State-run tabloid the Global Times said instead of the Hong Kong Human Rights and Democracy Act, it should be called the “Support Hong Kong Violence Act.”

The Chinese government has repeatedly called on the US to stop “interfering” in their internal affairs, even accusing Washington repeatedly of being partially behind the lengthy demonstrations in Hong Kong.

Speaking in Beijing on Wednesday, Foreign Ministry spokesman Geng Shuang called the bill a “serious violation of international law” and said the Chinese government opposed and condemned it.

“I’d like to stress once again that Hong Kong is part of China, and Hong Kong affairs are China’s internal affairs. We urge the US to grasp the situation, stop its wrongdoing before it’s too late, and immediately take measures to prevent this act from becoming law,” he said.

The legislation has already passed the US Senate in its current form, meaning it now heads to the White House for President Trump’s signature. But despite the strong support in the US Congress, there is no indication at this stage whether or not Trump will sign it.