A drunk punched a man smashing his spectacles in to his face, a court was told.
Muzaffar Hussain of Stansfield Road, Todmorden, admitted to assault by beating at Calderdale Magistrates Court.
The court heard that the 25-year-old defendant assaulted the man on June 8 at Halifax Road, Todmorden.
The offence took place in the early hours of the morning at around 3am.
Hussain was sentenced to a 12 month community order, 30 day activity order, £250 compensation towards the broken glasses and £100 for injuries. He must also pay £85 in costs.