SAN DIEGO (AP) — A 10-year-old boy fired two shotgun rounds at police in San Diego during a two-hour standoff before turning himself in, authorities said. No one was hurt.

The boy will be evaluated by mental health professionals, San Diego Police Officer Billy Hernandez said.

The boy’s mother called police shortly after 9 a.m. and said he had a knife and was slashing furniture, Hernandez said. The youth went outside with the knife and locked himself into a backyard shed, where there was a shotgun and several rounds inside.

As officers tried to talk to him, the boy fired one shot, Hernandez said. While SWAT officers and crisis negotiators were en route to the home, he fired another round, police said.

Hernandez said the boy walked out of the shed and into the home as the SWAT officers set up. He then came out the front door with his hands up and was taken into custody.

Police evacuated several homes in the neighborhood and put a nearby school on lockdown, Hernandez said.

He said he wasn’t aware of previous police responses to the boy’s home.