Updated

A New York City man who pleaded guilty to robbery as a hate crime in a violent attack on a gay man has been sentenced to eight years in prison.

The Queens district attorney said Monday that Daniel Aleman also faces five years of post-release supervision in the October 2009 assault.

Prosecutors say 27-year-old Aleman shouted anti-gay slurs when he and another suspect beat Jack Price and stole property from him, including a wallet and cash.

Price suffered a broken jaw, several broken ribs, two collapsed lungs and a lacerated spleen. He was hospitalized for about three weeks.

Co-defendant Daniel Rodriguez also pleaded guilty to robbery as a hate crime. He'll be sentenced Jan. 21.