Argentina's Congress has approved a law overhauling an intelligence agency under fire from the president as well as the opposition.

The measure approved early Thursday comes after President Cristina Fernandez said the agency was out of control and suggested a top spy could have been involved in the death of a special prosecutor.

Opposition lawmakers said the revamp doesn't go far enough.

Argentina has been shaken by the Jan. 18 death of Alberto Nisman, who alleged that Fernandez and her allies shielded Iranian officials accused of masterminding the 1994 bombing of a Jewish community center in Buenos Aires.

She denies that, but polls say many Argentines suspect officials had some hand in the death. Her aides suggest he was killed in a plot to destabilize the government.