A former guard has admitted he unwittingly helped two killers escape from a northern New York prison by smuggling in tools.

Gene Palmer pleaded guilty in court on Monday to a felony count of smuggling in needle-nose pliers and a screwdriver and two misdemeanor counts related to prison contraband and official misconduct. A judge sentenced him to six month in jail and about $5,000 in penalties.

Palmer also resigned his $74,644-a-year job.

Palmer admitted providing inmates Richard Matt and David Sweat with tools and access to a catwalk electrical box at Clinton Correctional Facility. He was accused of giving them hamburger meat that had hacksaw blades hidden inside. His lawyer says he didn't know what was in the meat.

Matt was shot and killed. Sweat was wounded and caught.