FRESNO, Calif. (KFSN) -- Before Friday, Joseph Espinoza had never been an inmate at the Fresno County Jail.
But the 22-year-old is now in custody, accused of shooting and killing Nick Kauls last month in Fresno County's Old Fig Garden neighborhood.
Detectives say Espinoza was on a mission to rob random people late last month. Kauls and his friend were among the innocent victims confronted.
Fresno County Sheriff Margaret Mims said, "A man got out of the SUV approached Nicholas and his friend as they were in the driveway and demanded that they hand over all of their belongings. The boys refused and ran away."
That's when Kauls was shot, an injury that would lead to his death.
WATCH THE FULL PRESS CONFERENCE HERE
Investigators say Espinoza was involved in a domestic disturbance call with police hours earlier at the Motel 6 on Blackstone and Herndon. They took meth from him and two guns from his friend.
Detectives say that's when Espinoza and two others began a quest to get money.
Fresno Police Chief Jerry Dyer said, "We know that Espinoza went out that evening for the purpose of committing robberies, in order to raise bail money to get his friend, Jose Figueroa out of jail."
Officers say other victims were confronted and shot at in the area of Ashlan & West and First & Gettysburg, but no one was hurt.
Kauls was a well-loved student at San Joaquin Memorial and a treasured son to his mother. To the community, he was the tragic victim of a senseless crime.
Fresno County District Attorney Lisa Smittcamp said, "He is everybody and anybody's child. As a 100% innocent victim, who was literally at the wrong place at the wrong time, he could have been any of our children."
Espinoza does not have a criminal past but now faces several felony counts.
His bail is set at $4.3 million.