Two men have pleaded guilty to robbery as a hate crime in the beating of a gay man last year in New York City.

The men admitted taunting Jack Price and yelling anti-gay slurs before punching and kicking him. It happened after he left a 24-hour deli near his home in Queens in October 2009.

Price suffered a fractured jaw and ribs, two collapsed lungs and a lacerated spleen. He spent three weeks in the hospital.

Queens District Attorney Richard Brown says 21-year-old Daniel Rodriguez pleaded guilty Tuesday. Twenty-seven-year-old Daniel Aleman pleaded guilty last week.

Both face eight years in prison.