The Hong Kong government on Friday published its draft of a new national security law, a document being closely scrutinized by some foreign diplomats, lawyers and businesses amid fears it could further dent freedoms in the financial hub.

The draft, including new laws encompassing treason, espionage, external interference, state secrets and sedition, follows a monthlong consultation that ended last week.

It includes sentences of up to life imprisonment for treason, 20 years for espionage and 10 years for offenses linked to state secrets and sedition.