Get all the latest news on coronavirus and more delivered daily to your inbox. Sign up here.

BEIJING — China’s ceremonial legislature on Thursday endorsed a national security law for Hong Kong that has strained relations with the United States and Britain.

EX-US ENVOY TO CHINA SAYS WASHINGTON IS WAKING UP TO BEIJING TAKING 'MORE AND MORE CONTROL' OF HONG KONG

The National People’s Congress approved the bill as it wrapped up an annual session that was held under intensive anti-coronavirus controls.

Chinese President Xi Jinping attends the closing session of China's National People's Congress (NPC) in Beijing, Thursday, May 28, 2020. China's ceremonial legislature has endorsed a national security law for Hong Kong that has strained relations with the United States and Britain. (AP Photo/Mark Schiefelbein)

Chinese President Xi Jinping attends the closing session of China's National People's Congress (NPC) in Beijing, Thursday, May 28, 2020. China's ceremonial legislature has endorsed a national security law for Hong Kong that has strained relations with the United States and Britain. (AP Photo/Mark Schiefelbein)

The Hong Kong security law will alter the territory’s mini-constitution, or Basic Law, to require its government to enforce measures to be decided later by Chinese leaders.

The measure and the way it is being enacted prompted Washington to announce it no longer will treat Hong Kong as being autonomous from Beijing.

CLICK HERE FOR THE FOX NEWS APP

Activists in Hong Kong have complained the law will undermine civil liberties and might be used to suppress political activity.

The legislature also approved a government budget that will increase spending to generate jobs in an effort to reverse an economic slump after Chinese industries were shut down to fight the coronavirus pandemic.