(CNN) -- A Cincinnati man charged with fatally shooting his 11-year-old daughter Thursday was denied a temporary release to attend the girl's funeral. 

Citing security concerns, state court Judge Nadine Allen denied a motion filed by a lawyer for Deandre Kelley, 34, who was charged with the shooting death of daughter Achauntiara Lanza during an argument with the victim's mother, according to bailiff Gail Ruth. 

Kelley's lawyer, Hugh McCloskey Jr., said the judge expressed concern that people might want to hurt his client or that his presence at the funeral could spark a dispute. 

"This motion was requested because it was requested by Mr. Kelley's family, especially the deceased young lady's mother," he said. "This is a family unit, whether we like it or not. They're suffering right now. In order to start healing, it's something they need to go through together." 

The mother, who was not identified, could not be reached for comment. 

Prosecutors said Kelley showed up at slumber party Lanza was hosting at her mother's house in the early hours of of January 12 and argued with her mother. Kelley allegedly fired his gun into the air during the exchange, with an errant bullet striking Lanza in an upstairs bedroom. 

The girl, struck in the upper torso, was later pronounced dead at Cincinnati Children's Hospital. 

Prosecutors said the dispute began hours before the shooting: Kelley and the victim's mother argued because he brought a gun into the home while the girl was having a slumber party with friends. Kelley left and went drinking. 
Who was he arguing with?
 Kelley showed up at slumber party Lanza was hosting at her mother's house in the early hours of of January 12 and argued with her mother.