MOORHEAD – A Felton, Minn., man admitted in court Thursday, March 17, to accidentally shooting his 22-month-old daughter in the leg.

Fernando Rocha, 25, pleaded guilty to a felony charge of child endangerment.

Rocha said he was cleaning his .45 caliber pistol while in bed with his wife and daughter when the gun fired, hitting his daughter in the leg.

Rocha said he had 12 beers before the shooting and said he did meth a couple days before.

Previous reports say Rocha's daughter was rushed to a Fargo hospital, where she underwent emergency surgery to save her leg. She has since recovered.

listen live watch live

On Thursday, a judge accepted Rocha's testimony, which was part of a plea deal. A sentencing hearing for Rocha is set for April 18.

Rocha is also facing two separate charges from earlier this month. One is for possession of a controlled substance with intent to deliver within 1,000 feet of a school and a second charge for possession of drug paraphernalia.