LOS ANGELES, CA — A transient was sentenced Wednesday to 22 years in state prison for opening fire outside a Venice bar and wounding a man in an attack caught on cell phone video.

Robert Leo Mewhorter, 48, pleaded no contest last Friday to an attempted murder charge and admitted allegations that he used a gun and caused great bodily injury during the March 7, 2018, attack, according to the Los Angeles County District Attorney's Office.

Mewhorter left the bar after getting into an argument with a man, returned soon after and opened fire, injuring another man, according to prosecutors.