Mark Carson did not hide that he was gay, and when he went out on the town he would often head to Greenwich Village, where years before he was born, much of the struggle for gay liberation unfolded. Yet late Friday night, just blocks from the Stonewall Inn, among the most important landmarks of that struggle, he was confronted with a man screaming antigay slurs, who then stalked him before pulling out a silver revolver and fatally shooting him, the police said.

“This clearly looks to be a hate crime,” Police Commissioner Raymond W. Kelly said at a news conference on Saturday. A suspect, later identified as Elliot Morales, 33, was arrested.

Mr. Kelly described a chaotic scene that involved a man seemingly out looking for trouble when he crossed paths with Mr. Carson and ended up shooting him in the face. The violence was quickly followed by a police chase and an arrest on the corner of West Third and Macdougal Streets as scores of bar hoppers looked on in shock.

Mr. Kelly said there had been a rise in bias-related crimes in New York City this year — 22 compared with 13 during the same period last year. In just the past three weeks, there have been five attacks directed at gay men, including a vicious assault on a gay couple outside Madison Square Garden on May 5.