Michael Leyva was sentenced to 50 years to life on Thursday for the murder of Miguel Garcia.
Leyva stabbed him outside of a southeast Fresno strip mall back in August of 2018.
His attorney argued it was self-defense, but prosecutors said it was an act of aggression after Garcia made sexual comments to Levya's girlfriend.
Leyva also has a manslaughter conviction from 1991 and another felony strike for burglary.