A CONVICTED sex offender from Burnley who made "concerning and disgusting" comments to young boys has been given an extended jail sentence.

John Goodfellow, 58, started chatting with some youngsters about football, in a harbour town to the east of Edinburgh, when he told one of them he wanted him to perform a sex act on him, the city's sheriff court heard..

Goodfellow, who is on a lifetime sexual offence prevention order (SOPO), had travelled up to the scene with 20 condoms and Viagra pills in his pocket, the court was told.

He pleaded guilty to directing sexual communications towards the 15-year-old boy and breaching his SOPO, by making contact with him despite being banned from approaching anyone under the age of 16.

Goodfellow was given the lifetime ban after being convicted of sex offences at Preston Crown Court in 2005.

Jailing him for two years, with an additional two years on licence, Sheriff Donald Corke told him he posed "a high risk of sexual reoffending" with a "particular risk to young boys".

Sheriff Corke jailed Goodfellow for two years and told him he would be on licence for a further two years when he is released from prison.

He told the court: "You have pled guilty to two charges on this indictment. It is clear you pose a high risk of sexual reoffending with a particular risk to young boys.

"It is obvious the only way of dealing with you is a custodial sentence."

Sheriff Corke also placed Goodfellow on the sex offenders register for an indefinite period.

Fiscal depute Lorna Ferrier said Goodfellow, was contacted by his offenders management team on June 28 this year and he informed them he was in East Lothian on a fishing trip.

The fiscal said Goodfellow was at Cockenzie harbour, where there were several groups of "school-age children" enjoying themselves by diving from a pier into the sea.

Goodfellow told the boys he supported Rangers and backed his team to win all three domestic trophies this season, the court heard.

One of the boys said he was a Celtic supporter, the court was told, and replied that if the Ibrox club won all three trophies he would give Goodfellow "a pat on the back".

But Goodfellow told him he wanted more than that and made an indecent suggestion to the youngster.

Goodfellow's offender management team had already alerted police to his whereabouts and police turned up at the harbour later that day.

The officers spotted Goodfellow chatting to a group of children and after speaking to him found a discarded bottle of tonic wine nearby.

The officers also discovered Goodfellow, who has numerous previous convictions for child sex abuse offences, was carrying 20 condoms and a bottle of Viagra tablets.

Solicitor Jim Stephenson, defending, said his client had been prescribed the pills by his doctor and he was carrying the condoms because he was hoping to "start a relationship".

He said Goodfellow had "stupidly got involved" with the children.