An attack on a man wearing a gay pride t-shirt in the San Diego neighborhood of Oak Park is being investigated as a possible hate crime by police, according to San Diego's CBS affiliate station KFMB.

The 40-year-old victim was wearing the pro-gay shirt while walking in Oak Park around 8:45 p.m. Monday. A sedan passed by the man and San Diego police Sgt. Michael Tansey said the man's shirt may have sparked the suspects to hurl a slew of insults at him.

Related: NYPD Investigating Subway Stabbing as Anti-Gay Hate Crime

After spewing hateful comments, the suspects reportedly turned their car around and stopped near the unnamed man. Several men got out of the car and allegedly punched and kicked the victim while shouting derogatory comments. The victim was then stabbed in his left forearm but managed to escape and call his parents for help, according to KFMB.

Tansey told the new station paramedics took the man to the hospital and he was treated for non-life-threatening injuries.