China's parliament approved a decision on Thursday to go forward with national security legislation for Hong Kong that democracy activists in the city and Western countries fear could erode its freedoms and jeopardize its role as a global financial hub.

China says the legislation will aim to tackle secession, subversion, terrorism and foreign interference in the city but the plan, unveiled in Beijing last week, triggered the first big protests in Hong Kong for months.

Riot police were out in force in Hong Kong as its lawmakers debated another piece of legislation, a bill to criminalize disrespect of China's national anthem, while the United States piled on pressure aimed at preserving the city's autonomy.