A suburban St. Louis man is accused of killing a 9-year-old girl who was inside her Ferguson home when shots were fired into a bedroom.

St. Louis County prosecutor Bob McCulloch on Thursday charged 21-year-old De'Eris Brown, of O'Fallon, with second-degree murder in the Aug. 18 death of Jamyla Bolden. She was doing homework on her mother's bed when she was killed.

Brown also faces three counts of armed criminal action and two counts of unlawful use of a weapon by shooting at a building.

In a probable cause statement, Ferguson officer William Ballard says Brown fired through a bedroom window. A witness identified Brown as the shooter, and he allegedly confessed.

Brown does not have a listed attorney who could comment on the allegations.