BATON ROUGE, La. — A new audit finds Louisiana’s Corrections Department paid $3.6 million over three years for a computer system to track inmates that never functioned properly and was shut down after a month.

Legislative Auditor Daryl Purpera’s office released the findings Monday, saying the contract began in July 2012, aimed at updating an offender management system built in the 1980s.

But the audit says the new computer system was a failure. Purpera’s office says it went up June 15, 2015, and was taken offline July 31, 2015. The department returned to its old system.

The audit says the department is evaluating the possibility of another upgrade of the system. It doesn’t name the vendor hired to do the previous software work, and the Corrections Department didn’t return a request for comment.

Ken Pastorick, a spokesman for the Corrections Department, said in a statement that the agency is evaluating its options, “up to and including litigation.” He added that the department relied on a contractor to design the computer system.

“The poorly designed system never worked, and it was unstable,” he said.