OAKLAND (CBS SF) – A man arrested Wednesday after a 4-year-old boy was shot in the head in East Oakland was charged Friday with child abuse, having a firearm as a felon, and criminal storage of a firearm, according to the Alameda County District Attorney’s Office.

The shooting was reported at about 2 p.m. in the 2400 block of Ritchie Street. The boy was taken to the hospital in critical condition, and police detained the boy’s mother and 37-year-old Terrence Wilson for questioning.

READ MORE: Pedestrian Dies After Being Hit By Vehicle Near Elverta

Wilson and the boy’s mother said he had been watching TV alone in the bedroom when the gun was fired, according to court documents. Police located the gun on the bedpost when they arrived, and have not confirmed whether the child shot himself.

READ MORE: Unmasked Crowd At Yuba City High School Basketball Game Leads to School District Investigation

Wilson said he had slept with the gun under the pillow the previous night, and forgotten to remove it when he woke up late to take his children to school, according to a probable cause statement. The boy’s mother said she knew there was a gun in the house, but did not know where it was kept.

MORE NEWS: Joseph Hits Winner, Pistons Rally Late To Stun Kings 133-131