Williams also admitted breaching an anti-social behaviour order (asbo) by committing the offence on the train.

The train manager on board a Liverpool to Birmingham New Street service on September 21 was checking tickets in the first class section of the train when he encountered Williams who was in possession of a standard class ticket.

He asked Williams to either pay to upgrade his ticket or move to the standard class section of the train but was met with a stream of abuse.

After shouting and swearing at the manager, Williams eventually moved to standard class, where he was later found to be smoking a cigarette and drinking alcohol.

British Transport Police were called and officers met the train when it arrived at Wolverhampton.

Enquiries revealed that Williams had been released from Walton prison in Liverpool earlier the same day. He had been detained at Walton Prison for a number of offences including assault, wounding and criminal damage.

Officers also discovered he had breached a three-year asbo which was issued by Walsall magistrates in July 2008.

The terms of Williams’ asbo included:*Acting in, or encouraging others to act in, an anti-social manner that is likely to cause harassment, alarm or distress.*Being drunk in any public place or possessing any open alcoholic beverage in any public place.*Using threatening, abusive, insulting or intimidating language or behaviour towards any person.

Williams was arrested for the public order offence committed on board the train and for being in breach of the terms of his asbo.