09/24/2012 12:40 pm ET

Edgar Diaz, Chicago Man, Charged In Stabbing Of Prosecutor Who Intervened In Anti-Gay Attack

A 21-year-old Chicago man has been charged with attempted murder in the stabbing of a Cook County prosecutor who reportedly intervened in the attack of two apparently gay men.

Edgar Diaz, of the 5600 block of West Grand, and another individual allegedly approached and verbally assaulted two men they assumed were gay in the 200 block of West Diversey around 7 p.m. on Sept. 13, the Chicago Sun-Times reports.

A 31-year-old prosecutor with the Cook County State's Attorney's office witnessed the interaction, according to the Sun-Times. Upon the man's attempt to thwart an attack, Diaz and the other individual allegedly proceeded to slash or stab the prosecutor multiple times.

Diaz has been charged with attempted first-degree murder and two counts of aggravated battery after being arrested and identified by witnesses, according to the Chicago Tribune.

The unidentified prosecutor lost a lot of blood but his injuries were not life-threatening, according to CBS Chicago. He was treated at Advocate Illinois Masonic Medical Center and released late Friday.

The Windy City Times previously reported that the two apparently gay men were holding hands before they were approached. The two ran away from the scene, according to the State's Attorney's office.

State's Attorney's Chief of Staff Dan Kirk previously told the paper that they were "extremely proud" of the intervening prosecutor.

"Our colleague's actions coming to the aid of other people that he didn't know is indicative of the character and caliber that we seek in the many men and women that work in our office," Kirk told the Windy City Times. "This was a heroic act on the part of our assistant State's Attorney."

Diaz is slated to appear in bond court Monday.