A Davenport mother gave her 6-year-old son a lesson on BB gun safety — by shooting him with it, police say.

Courtney Kie-Marie Owens, 25, was arrested Tuesday night and appeared in Scott County District Court Wednesday morning. She is charged with child endangerment with injury.

Her child suffered a red swollen welt from the BB striking him in the hip and was treated at the scene, according to Owens' arrest affidavit.

Police say Owens had just gotten the BB gun when her son became curious with it and kept trying to play with it. Owens tried to explain that it was not a toy, and in doing so, she "purposely" shot him in the hip, her affidavit states.

The incident occurred about 8 p.m. Tuesday in the 3200 block of Orchard Avenue, Davenport.

She was booked into the Scott County Jail and released Tuesday night after posting bail through a bonding company.

Child endangerment with injury is a Class D felony that carries a penalty of five years in prison.