NEW YORK — Three suspects have been charged in connection with what police are calling an anti-gay attack in Brooklyn that left a 22-year-old man with a gunshot wound.

According to police, the victim was dressed as a woman and walking down the street with two other men in the Bushwick neighborhood early Saturday morning, when the three suspects approached them and began shouting profanities and anti-gay slurs.

According to court documents, the suspects allegedly shouted, “Y’all faggots, men dressing like women, tranny, drag queens.”

WNBC-TV reports that a dispute and chase ensued, and one of the suspects shot the victim in the buttocks.

The victim was treated for his injuries at a nearby hospital and released.

Tavon Johnson, 17, and Cody Sigue, 22, were charged with third degree menacing as a hate crime. Matthew Smith, 21, was charged with first degree assault and was also charged in a separate shooting Friday night.