The Justice Department said Thursday it is investigating whether Attorney General Alberto Gonzales lied or otherwise misled Congress last month in sworn testimony about the Bush administration’s domestic terrorist spying program.

Details of the inquiry by Justice Department Inspector General Glenn A. Fine were released three days after Gonzales abruptly announced he was stepping down despite months of vowing to remain on the job.