SIOUX FALLS, S.D. — A South Dakota inmate has been put to death for killing a prison guard by beating him with a pipe and covering his head in plastic wrap during a failed escape attempt.

Fifty-year-old Eric Robert received lethal injection Monday night in South Dakota's first execution since 2007. That had been the state's first execution in 60 years.

Robert was put to death in the same prison where he killed guard Ronald "RJ" Johnson in April 2011. Robert was serving an 80-year sentence on a kidnapping conviction when he and inmate Rodney Berget attacked Johnson, killing the guard on his 63rd birthday. Robert and Berget were apprehended before leaving the grounds.

Robert pleaded guilty and asked for the death penalty, saying he would kill again if he wasn't executed.