The law will not apply to acts which happened before it came into force
People in Hong Kong could face life imprisonment for breaking a controversial and sweeping new security law imposed by China.
The new national security legislation, brought by Beijing following increasing unrest and a widening pro-democracy movement, took effect on Tuesday, reports BBC.
Critics say the new law effectively curtails protest and undermines Hong Kong's freedoms.
The territory was handed back to China from British control in 1997, but under a unique agreement supposed to protect certain freedoms that people in mainland China do not enjoy - including freedom of speech.
Hong Kong's leader, Carrie Lam, defended the law, saying it filled a "gaping hole" in national security.
Details have been closely guarded and the Beijing-backed politician admitted she had not seen the draft before commenting.
But Ted Hui, an opposition legislator, told the BBC: "Our rights are (being) taken away; our freedom is gone; our rule of law, our judicial independence is gone."
The UK, EU and Nato have all expressed concern and anger, while pro-democracy groups have started to disband amid fears of immediate reprisals.
Washington, which also urged Beijing to reconsider, had already begun to end the preferential treatment Hong Kong enjoys in trade and travel with the US, bringing it in line with mainland China.
What do we know about the law?Full details of the new law only emerged after it had come into effect at about 23:00 local time on Tuesday (16:00 BST).
It applies to both permanent and non-permanent residents. Among the details:
- Crimes of secession, subversion, terrorism and collusion with foreign forces are punishable by a minimum sentence of three years, with the maximum being life
- Inciting hatred of China's central government and Hong Kong's regional government are now offences under Article 29
- Damaging public transport facilities can be considered terrorism - protesters often targeted city infrastructure during the long-running demonstrations
- Those found guilty will not be allowed to stand for public office
- Beijing will establish a new security office in Hong Kong, with its own law enforcement personnel - neither of which would come under the local authority's jurisdiction
- Hong Kong's chief executive can appoint judges in national security cases, and the justice secretary can decide whether or not there is a jury
- Decisions made by the national security commission, set up by local authorities, cannot be challenged legally
- China also says it will take over prosecution in cases which are considered "very serious", while some trials will be heard behind closed doors.
- Management of foreign non-governmental organisations and news agencies will be strengthened
- The law can also apparently be broken from abroad by non-residents, under Article 38
The law will not apply to acts which happened before it came into force.
What has the reaction been?
The reaction began the moment the law - which was first announced six weeks ago - was signed by China's President Xi Jinping.
Pro-democracy activists in Hong Kong began to quit immediately, fearful of the new law, and the punishment it allows.
According to the South China Morning Post, pro-democracy businesses began clearing away any sign they had once supported the protests.
Joshua Wong, secretary-general and founding member of pro-democracy group Demosisto, warned the city would "turn into a secret police state".
"Beijing's promise to the world that Hong Kong will have a high degree of autonomy is proven to be a lie," opposition legislator Ted Hui told the BBC's Newshour programme.
But despite the risks, some remained determined to go ahead with the banned traditional 1 July rally planned for Wednesday, amid reports of large numbers of police descending onto Hong Kong's financial district.
The move also provoked international reaction, with the UK's Foreign Secretary, Dominic Raab, saying China had broken the promises it had made to the people of Hong Kong under the terms of the 1997 handover.
He added that the government "fully" intends to see through plans to change visa rules, offering millions of people in Hong Kong a way to acquire UK citizenship.
That agreement enshrined the "one country, two systems" principle in a document called the Basic Law - Hong Kong's mini constitution - for 50 years.
The Basic Law protects rights such as freedom of assembly and freedom of speech - neither of which exist in mainland China - and also sets out the structure of governance for the territory.
Julian Braithwaite, Britain's ambassador to the United Nations in Geneva, told the UN Human Rights Council that the law "has clear implications for human rights".
Mr Braithwaite, speaking on behalf of 27 nations, urged China to reconsider.