A SERIAL flasher is facing a lengthy prison sentence after he was caught on a mobile phone camera by one of his young victims.

Walter Allan, Musselburgh, admitted several flashing offences involving children.

Edinburgh Sheriff Court heard that Allan, of Champigny Court, was caught on camera by a 13-year-old girl he targeted.

The court was told that Allan, 51, exposed himself to two young sisters on Portobello Promenade in August 2015.

He was seen standing at the beach front, naked from the waist down, and exposing himself to the girls, aged nine and 14.

Allan also sat on a bench at the popular Edinburgh beach front and exposed himself in the presence of a 13-year-old girl.

Fiscal depute Anne McBride told the court that Allan was spotted “looking straight” at the two holidaying children while exposing himself at about 5pm on August 9, 2015.

The shocked girls ran off and told their parents but Allan had disappeared by the time police arrived.

The court heard that on the same day Allan exposed himself to the 13-year-old, who managed to take a picture of him on her mobile phone.

Allan appeared from custody and pleaded guilty to the offences, as well as a further offence of exposing himself at an Asda store in Stenhousemuir on April 19 last year.

Ms McBride said that Allan had been seen “muttering to himself” and had been leaning against a wall within the store while exposing himself.

His solicitor said that Allan had “no recollection of the events” and had been abusing alcohol and legal highs when he carried out the offences.

Sheriff Michael O’Grady QC remanded Allan in custody and deferred sentence to November 30.

In the meantime, Sheriff O’Grady placed Allan on the sex offenders’ register for a period still to be determined.

Allan pleaded guilty to exposing himself to the three girls at Portobello Promenade, Edinburgh, on August 9, 2015, and committing an act of public indecency by exposing himself at an Asda store in Stenhousemuir on April 16 last year.

A not guilty plea to engaging in sexual activity by inserting his hand inside his cycling shorts in the presence of a female shop assistant at a shop in Clerk Street, Edinburgh, on September 20, 2015, was accepted by the Crown.

He also denied assaulting a woman by pushing her to the ground at School Walk, Stenhousemuir, on April 23 last year.