A bisexual man convicted of murder as a hate crime for shooting a gay man he taunted on a New York City street will spend 40 years to life in prison.

Manhattan District Attorney Cyrus R. Vance Jr. says Elliot Morales was sentenced Tuesday for the 2013 murder of Mark Carson.

Prosecutors say Morales had issues with his own sexuality and was jealous that Carson and his roommate were openly gay.

Vance says the defendant yelled anti-gay slurs at the men before shooting Carson in the face.

Morales had argued at trial that he couldn't be a bigot because of his own sexual orientation.

The shooting happened a few blocks from the Stonewall Inn, the site of 1969 riots that helped give rise to the gay rights movement.