14-year-old boy hit by stray bullet in SF housing development

File photo of police squad car at night. Patrol car with lights flashing File photo of police squad car at night. Patrol car with lights flashing Photo: Ron Chapple, Getty Image Photo: Ron Chapple, Getty Image Image 1 of / 28 Caption Close 14-year-old boy hit by stray bullet in SF housing development 1 / 28 Back to Gallery

A 14-year-old boy was rushed to a hospital Tuesday after he was hit by an errant bullet while walking in the Sunnydale housing development in San Francisco, officials said.

The boy was walking on the 1500 block of Sunnydale Avenue about 9:15 p.m. when the gunfire erupted, according to the San Francisco Police Department.

When the boy heard the shots, he ran toward his home nearby, police said.

It was only when he felt pain in his left foot that he realized he’d been shot, according to police.

Police do not believe the boy was targeted in the shooting.

He was taken to the hospital with non-life threatening injuries.

No arrests have been made.

Filipa Ioannou is a San Francisco Chronicle staff writer. Email: fioannou@sfchronicle.com