A Pennsylvania man admitted Monday he stalked and shot to death a casino shift manager last year because he believed the casinos were cheating customers by electronically controlling table games, authorities said today.

Mark Magee, 58, pleaded guilty to murder in Superior Court in Atlantic County in the shooting death of Trump Taj Mahal worker Raymond Kot, the state Attorney General's Office said.

Magee, of Norristown, Pa., faces up to 30 years in state prison.

Magee confronted Kot on May 27, 2009, shooting him there times in the torso inside a card and dice room off the casino floor, authorities said.

Kot, 57, of Egg Harbor Township, had been with the casino since it opened in 1990.

Magee is set to be sentenced on Aug. 12. He was being held in the Atlantic County jail on a $1.1 million bail