A 32-year-old man has been sentenced for touching himself inappropriately on a train in Reading.

Maxwell Valentine, of Westerleigh Road, Pucklechurch, South Gloucestershire, was given a community order and a sexual harm prevention order on Friday after being caught masturbating on August 27.

The judge at East Berkshire Magistrates Court ordered Valentine to take part in a sex offender treatment program for 35 days.

Read more: West Berkshire man arrested on suspicion of breaching restraining order

The five year-long sexual harm prevention order means Valentine is prohibited from engaging in a sexual act on a railway, viewing or displaying a pornographic image in any public place or exposing his genitals.

Valentine can only enter a Main Line, London Underground or Docklands Light Railway Station for the purpose of travelling.

He can only travel on the train if he leaves immediately after reaching his destination, bar connecting to another train.

Valentine was ordered to pay a surcharge to fund victim services of £95 and to pay court costs of £85 by November 24.