Four men pleaded guilty to felonies in a 2023 drive-by shooting that left a person injured and a residence riddled with bullet holes in San Francisco, prosecutors said Monday.

Shaquille Dumetz, 32, pleaded guilty to attempted murder. He was sentenced in December to seven years in state prison.

Cory Martin-Turner, 31, Phillip Stewart, 33, and Jahari Oliver, 28, each pleaded guilty to assault with a semi-automatic gun. Martin-Turner was sentenced in December to six years in prison.

Stewart and Oliver, who also admitted they were armed with a gun, are expected to be sentenced Wednesday to 10 years in prison.

“These convictions and sentences hold these men accountable for a brazen, mid-afternoon drive-by shooting,” San Francisco District Attorney Brooke Jenkins said. “Anyone with the intention of coming to San Francisco to engage in violence, with the belief that they will get off with no consequences is mistaken.

Authorities said surveillance video captured the men as they left a residence on 64th Avenue in East Oakland and got into two cars the afternoon of Sept. 7, 2023. 

About an hour later, one of the cars pulled up to a home on Donner Avenue in San Francisco’s Bayview neighborhood. A gunman in the Infiniti G37 opened fire, striking the victim in the thigh as they were talking to someone in a parked car adjacent to the residence. 

Other rounds damaged a door, wall and window frame of the home, where residents were inside. 

Police recovered 12 cartridges. Surveillance video that captured the suspected shooter’s car helped police zero in on Dumetz, Martin-Turner, Stewart and Oliver, authorities said. The footage also showed that the three passengers in the Infiniti were carrying guns, with the front-seat passenger holding a rifle. 

Authorities said the four men were associated with three different street gangs in San Francisco, but they did not elaborate. 

After an investigation that authorities described as extensive, police obtained arrest warrants for the four men and arrested them in February 2024. Police also seized guns, including eight handguns and a rifle along with ammunition and magazines.  

Calling gun violence unacceptable, San Francisco Police Chief Dereck Lew said SFPD officers, with assistance from Oakland police, the FBI and the Bureau of Alcohol, Tobacco, Firearms and Explosives, worked diligently on the investigation “to ensure justice was served and these suspects are held accountable.”