A PENSIONER who exposed himself to two schoolboys and asked them to perform a sex act on him has been jailed and placed on the sex offenders' register.

Robert Cockburn, 76, had his trousers dropped to his knees when he targeted the two children – aged 12 and 14 – at a public toilet at Shorthope Street, Musselburgh, last year.

The OAP also asked adult men for sexual favours while they used several county conveniences and flashed his genitals to women at a Port Seton supermarket over a 14-month period.

And despite being arrested on several occasions, Cockburn continued to flout court bail conditions and attend at local public toilets to commit further indecency offences.

READ MORERobert Cockburn: Pensioner banned from public toilets

The disabled pensioner appeared in a wheelchair by video link at Edinburgh Sheriff Court on Tuesday after previously pleading guilty to a total of 13 sexual offences and 11 breaches of bail.

Sheriff Roderick Flinn had deferred sentence on Cockburn several times in recent months for mental health assessments to be carried out and social work reports to be prepared.

The sheriff said that he was admonishing the pensioner on all the breach of bail charges but jailed him for a total of 212 days to mark the sexual offences.

Sheriff Flinn also placed Cockburn, of Links View, Port Seton, on the sex offenders' register for 10 years.

Previously, the court heard details of how Cockburn targeted children and adult men at public toilets in Musselburgh and Haddington.

Fiscal depute India McLean said that the two schoolboys went into the convenience at Shorthope Street in Musselburgh at about 5pm on August 27 last year.

Ms McLean said: “Mr Cockburn was within and had his trousers at his knees and his penis was exposed, and he asked the boys for oral sex.”

Police were alerted soon after the incident and, when the OAP was arrested, he denied any wrongdoing.

READ MOREDisabled Robert Cockburn exposed himself to children at public toilet

The court also heard that the pensioner had asked one man to perform a sex act on him and he had stared at two men while they used the public toilet on August 12 and 21 last year.

Cockburn was again arrested after police received several calls from members of the public reporting that he was staring at men while they urinated at the same convenience in October last year.

Further offences included Cockburn exposing himself to two women at a supermarket in Port Seton and to flashing three woman at the village’s Viewforth, all on December 23 last year.

He also exposed himself to police officers at a car park in Longniddry on March 21 and made sexually explicit comments to a man at the Royal Infirmary of Edinburgh on October 9.