Updated

A Cincinnati man has pleaded guilty in the accidental shooting death of his 11-year-old daughter and has been sentenced to six years in prison.

Prosecutors say 34-year-old Deandre Kelley was drunk on Jan. 12 when he fought with his longtime girlfriend and fired two gunshots into the air. One bullet hit their daughter Shanti Lanza, who had been hiding in an upstairs bedroom.

Kelley pleaded guilty to one count of reckless homicide in an emotional hearing Wednesday in Hamilton County court. In exchange, prosecutors dropped charges of involuntary manslaughter and endangering children, and a weapons count.

Kelley's attorney, Hugh McCloskey Jr., says that after talking the case over with the judge, his client realized that a six-year sentence was the best deal he was going to get.