China will have overarching powers over the enforcement of a new national security law in Hong Kong, according to details released on Saturday that signaled the deepest change to the city's way of life since it returned to Chinese rule in 1997.

The planned law has alarmed foreign governments as well as democracy activists in Hong Kong, who were already concerned that Beijing is eroding the high degree of autonomy granted to the territory when it was handed over from British rule.

According to details released by the official Xinhua News Agency, Hong Kong will establish a local national security council to enforce the legislation, headed by the city's leader Carrie Lam and supervised and guided by a new central government commission created by Beijing. A mainland adviser will also sit on the new Hong Kong body.