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: Two Die In East Oakland Sunday Night Shooting

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: Steph Curry, Draymond Green Ready For Play-In Game; Warriors To Take On Lakers Wednesday Night

“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: Demonstrators Call on San Francisco to Keep Great Highway Closed to Cars

Williams is expected to appear in court on April 27.