Police have arrested a man who allegedly beat an assistant Cook County state’s attorney intervening in what he believed to be anti-gay harassment.

Edgar Diaz, 21, faces charges of attempted murder and two counts of aggravated battery dating back to the Sept. 13 attack. A second assailant has not been arrested.

The victim was walking in Lincoln Park when he saw two men holding hands. According to Cook County State’s Attorney’s Chief of Staff Dan Kirk, two men began taunting and harassing the couple. The prosecutor intervened, and the men turned and attacked him, beating him and stabbing him with a broken bottle.

The couple fled the scene.

The prosecutor has since been released from the hospital.

The state’s attorney’s office is trying to locate the couple, who would likely be witnesses in the case against Diaz and a second attacker, still at large.