A teenager who was involved in a "happy slap" attack on a student which was caught on a mobile phone camera and later downloaded for others to see has been ordered to do 150 hours community service work.

Student Benjamin Spencer was kicked and punched by two teenagers during the attack in Myrtle Park, Bingley, last May, and last month the Honorary Recorder of Bradford Judge Stephen Gullick was shown the recording which was made on a mobile phone.

During the incident, Mr Spencer was kicked in the head by a 16-year-old youth, who cannot be identified for legal reasons, and had to undergo a two-hour operation to treat a deep cut to his left eyebrow.

At the last hearing in December the 16-year-old's case was sent back to the Youth Court in Bingley for sentence and yesterday Judge Gullick passed sentence on 18-year-old Benjamin Beetham, who had admitted a charge of common assault on Mr Spencer.

Beetham, who had two previous cautions for common assault, accepted punching Mr Spencer in the face and kicking him on his body before the 16-year-old joined in the attack.

At the previous hearing prosecutor Heather Gilmore said Mr Spencer had suffered headaches since the incident and was frightened of going out in Bingley.

She said he was also deeply shocked to discover that someone had filmed the attack on a mobile phone which had been widely downloaded.

Barrister Edward Renvoize, for Beetham, told Bradford Crown Court the attack had arisen out of ill-feeling between the two men and his client had been heavily in drink.

Mr Renvoize said Beetham was remorseful for his actions that day and had reacted to peer pressure which he should not have done.

"He was of the view that some kind of esteem in the eyes of his peers as being a hard man was a good thing,'' said Mr Renvoize.

"He has realised it is not a good thing as he stands before you in the dock.'' Judge Gullick remanded Beetham, of Brunswick House, Bingley, in custody over lunch while he considered his case.

"The maximum sentence is six months imprisonment and I have had to seriously consider whether or not the time has come to lock you up,'' Judge Gullick told him.

"You have had two previous brushes with the police in relation to unprovoked violence, which doesn't bode particularly well for the future.

"You must understand you are going seriously in the wrong direction.

"I hope these proceedings will have some effect upon you and you will not repeat this sort of behaviour.

"If you come back before me, especially if you commit an offence of violence, you may find yourself spending a little longer that one-and-a-half hours downstairs.'' e-mail: newsdesk@bradford.newsquest.co.uk