A teenager has been sentenced to six years in prison in connection with the vicious beating of a Mexican immigrant on Staten Island last year.

The April 5 assault on Rodolfo Olmedo was the first of a series of suspected anti-Hispanic bias attacks in the borough’s Port Richmond section. But a grand jury declined to indict Rolston Hopson and three other defendants on hate crime charges.

Hopson was sentenced Wednesday. According to court documents, he beat Olmedo with a wooden stick. Olmedo was hospitalized for five days and was briefly in a coma.

The other defendants are scheduled to be sentenced in the next two weeks.