"Today in court, Joseph Vicencio was arraigned on one count of premeditated murder and 10 counts of shooting into occupied buildings," said Marina Mankaryous, Deputy District Attorney.
RELATED: San Jose police arrest suspect in gunfire incident
Last week San Jose State University sent out an alert after bullets hit the MLK Library and the city garage across the street. For days, the shooter was at large with police sending out a photo of a possible suspect.
Vicencio turned himself in over the weekend.
[Ads /]
"On September 19, the evidence shows that the defendant walked into a parking garage and using a semi-automatic weapon," said Mankaryous.
One of the charges Vicencio faces is attempted murder of Garrett Bruner.
Bruner is a San Jose State University student who narrowly missed getting hit by a bullet as he studied at the MLK library. He spoke to ABC7 News on the night it happened.
"I realize there's glass all over me, glass all over the floor and we just duck down," said Bruner.
[Ads /]
It's unclear if Vicencio was targeting anyone at the library or if he knew Garrett.
RELATED: San Jose State student recalls terrifying moments after bullets hit main library
At MLK Library, the window shattered by bullets is still boarded up-- and frequent users, still shaken up.
"I was scared, my kids go to preschool here and I work here and it's a safe place," says Kate Hidalgo.
Vicencio is due back in court on Oct. 28. If found guilty, he could face life in prison. He is being held without bail.