A 20-year-old Lompoc man was charged with attempted murder last week in connection to a gang-related shooting on Sept. 11 that injured two men on North M Street

The shooting was reported at about 9:30 p.m. in the 500 block of North M Street, according to Lompoc Police Sgt. Vincent Magallon. 

Upon arrival, officers located a 35-year-old male with a single gunshot wound, who was reported to be in stable condition, and a 31-year-old male who also sustained a nonlife-threatening gunshot wound, according to Magallon.

Police did not identify the two victims although one of them, Joseph Maldonado, was identified in a criminal complaint filed Sept. 14.

Police arrested Rafael Vivanco, who was located a few blocks from the scene and was taken into custody after a short foot pursuit, according to Magallon, adding a firearm was found in his possession.

Sign up to receive headlines in your inbox!

Breaking News | Local Sports | Daily Headlines | Local Obituaries | Weather | Local Offers

Vivanco was charged with two counts of assault with a semiautomatic firearm and four special allegations that include street terrorism, personal use of a firearm, personal and intentional use of a firearm causing great bodily injur, and a prior strike offense. 

He appeared Sept. 14 at Superior Court in Santa Maria but did not enter a plea, according to Santa Barbara County Deputy District Attorney Alexander Harrison, who is prosecuting the case. 

Harrison added that Vivanco was charged with street terrorism because it refers to gang activity. A criminal complaint filed Sept. 14 shows Vivanco is a member of Lompoc's Southside F Street gang. 

Vivanco is scheduled to appear for an arraignment at 8:30 a.m. Sept. 21 in Superior Court. 

The following is taken from the Lompoc Police Department's calls-for-service log and the Santa Barbara County Sheriff's Office daily arrest log. Those appearing as "arrested" are only suspected of the crime indicated but are presumed innocent.