A man was arrested Friday night by Palo Alto police after allegedly firing shots into two homes on the 3900 block of Park Boulevard, Sgt. Sandra Brown said.
Two officers were at Alma Plaza in south Palo Alto at 6:11 p.m. when they heard two shots fired and went to the 3900 block of Park Boulevard. Meanwhile, a woman called 911 and said that a man with a gun was in her backyard.
Two more shots were then fired.
Brown said police set a perimeter at the location and also shut down Caltrain in both directions for 36 minutes because the shots were fired near the train tracks.
The man, Tomas Godinez, 29, of Belmont, was told to come out from the yard and surrender, and he did.
"He wouldn't tell us what he was doing or why he was there," Brown said.
One bullet went through a window of a home, through a living room and became lodged in a bedroom closet, Brown said.
A second bullet went through a fence, into a home and lodged in the back of a dresser.
There were people in both homes at the time, Brown said.
Godinez was charged with shooting into inhabited buildings.