Malaysia is to repeal a security law that allows the government to detain people indefinitely without trial.
Prime Minister Najib Razak says the abolition of the Internal Security Act and other changes are aimed at ensuring a modern, mature and functioning democracy.
He says new legislation would be introduced to control suspected militants.
The moves were promised when Mr Najib took office in 2009. The security lawswere used to stem a Communist insurgency in the 1960s.
A general election is expected to be called next year.