Chinese leaders endorsed a sweeping overhaul of Hong Kong’s electoral system on March 31, slashing its number of directly elected seats.

The new measures, which bypassed Hong Kong’s legislature and were imposed directly by Beijing, followed months of protests.

“President Xi Jinping signed presidential orders to promulgate the amended annexes,” China’s official Xinhua News Agency said in a short report.

Hong Kong’s 7.5 million residents are still not sure what the new law contains with no details yet published.

But Tam Yiu-chung, Hong Kong’s sole delegate on China’s parliament, gave a breakdown of what the new measures included.

“The amendments were unanimously passed by 167 members of the Standing Committee of the National People’s Congress,” he said.

Under the new law, Hong Kong’s legislature will be expanded from 70 to 90 seats.

Only 20 of those seats will now be directly elected, down from 35, Tam said. The majority – 40 – will be chosen by a vetting committee.

The remaining 30 will be chosen by “functional constituencies” – bodies representing certain industries and special interest groups.

Anyone standing for election will have to be vetted for their political views.

Tam revealed that the vetting committee would be created by authorities in Hong Kong and the city’s new national security apparatus would have a say in who gets approved.

“The National Security Committee and the National Security Police will provide reports on every single candidate to assist the vetting by the qualification review committee,” he said.