The bill was approved after a 14-hour parliamentary session, the Hurriyet Daily News reported Friday.
As a result of the bill, specially authorized courts that convicted hundreds of Turkish soldiers in mass trials in 2012 and 2013 for allegedly plotting coups will be shut down and those cases will be handed over to regular criminal courts.
Turkey's specially authorized courts were created by an anti-terror law. They were discontinued in 2012 by Parliament, but a provisional article in the anti-terror law allowed courts to finalize pending coup plot cases before they closed.
Lawmakers opposed to the bill labeled it a "cache for hiding the government's dirty laundry."
Astronomers offer more expansive view of universe
McPhee, Cokas 'working on their marriage' after affair