Police say a 3-year-old Southern California boy is hospitalized in critical condition after shooting himself in the face with a handgun.

Rialto police Sgt. Richard Royce says the boy apparently shot himself with the .22 caliber gun while his 41-year-old grandmother was caring for him.

Royce says the woman is the boy's legal guardian.

Royce says investigators are trying to determine how the boy got hold of the gun but he said the shooting was an accident.

He says the bullet entered the boy's nasal cavity and the child underwent about an hour of surgery after he was taken to a hospital.

Police would not immediately say whether any arrests or criminal charges were planned.

Rialto is a city of nearly 100,000 people in San Bernardino County.