The bill, known as Hong Kong Human Rights and Democracy Act, passed by unanimous consent on Tuesday evening, capping off weeks of behind-the-scenes negotiations amid growing tensions in Hong Kong.

“With the situation in Hong Kong nearing a breaking point, this legislation will hopefully be a shot in the arm for the millions who have been patiently waiting for the United States to once again serve as a beacon of light and solidarity in their push to defend their basic rights and autonomy,” said Sen. Robert Menendez (D-N.J.), the top Democrat on the Foreign Relations Committee.

Sen. Marco Rubio (R-Fla.) added that the bill would be an “important step in holding accountable those Chinese and Hong Kong government officials responsible for Hong Kong’s eroding autonomy and human rights violations.”