SAN LEANDRO (CBS SF) – A man is in critical condition and a clerk is under arrest following a shooting at a gas station in San Leandro last week.

Police responded to the area of West Juana and Carpentier streets on reports of a gunshot victim around 5:20 a.m. on Friday. The victim told officers that he was shot at the Shell gas station at 2175 Marina Boulevard, about 2 miles away.

READ MORE: No Rain In Forecast; Dry January Returns San Francisco To Parched Conditions

He was taken to a trauma hospital where he remains in critical condition, police said Tuesday.

During the investigation, police determined that the station clerk was the suspect. The suspect was found in Fremont, where he allegedly told police that he was upset that the victim had parked at the station for an extended period of time.

READ MORE: One Dead In Crash, Fire Involving Big-Rig On Eastbound Richmond-San Rafael Bridge

“San Leandro Detectives worked closely with Fremont Police in locating and safely taking the suspect into custody within hours of the initial investigation,” Lt. Ali Khan said in a statement.

The suspect, identified as 31-year-old Sergio O’Brien Williams, was taken into custody and booked into the Santa Rita Jail in Dublin. According to jail records, Williams faces numerous charges including attempted murder, shooting at an occupied vehicle and possession of a firearm by a convicted felon.

MORE NEWS: COVID: Marin County Begins Easing Rules As Omicron Surge Likely Peaking

Williams is expected to appear in court on April 27.