Herkimer, NY -- A retired Rochester Police captain has pleaded guilty in the shooting death of his adult son.

13 WHAM reports Michael Leach pleaded guilty in Herkimer County to criminally negligent homicide in the 2012 shooting death of his son, Matthew, at an Old Forge motel.

At the time Leach said he thought he shot an intruder.

In court Wednesday it was revealed Leach was having nightmares about a shadowy figure entering his home.

Leach will be sentenced in August and faces six months behind bars plus probation and psychiatric treatment.