He had a two year affair with one girl during which they had full sex regularly and went on to have a ten month relationship with the second in which they took part in sex acts together at least eight times.

Moses, 30, was a well known member of the local community and played rugby for Teignmouth as well as being a popular volunteer with the two emergency services.

"I discount the sentence to reflect the fact you are of positive good character and a young man who is extremely well thought of in the community where you live and engaged in a lot of community activities." Mr Brian Fitzherbert, prosecuting, said the offences came to light in 2010 when the second victim told a teacher what had been going on. He said one girl was befriended by Moses when she was just 14 and in the school cadet force and she met him again in the summer when he was working at the RNLI hut on the beach.

Moses, who was living at Portland Avenue, Teignmouth, at the time of the offences, admitted 17 counts of sexual activity with a child and was jailed for three years by Judge Graham Cottle.

He was also put on the sex offenders' register, made subject of a sexual offences prevention order for life, and banned from working with children.

The class format, more broadly known as john school, has been gaining popularity across the nation as more communities seek new ways to combat prostitution.

An average of four of the programs have started annually since 1997.

"Imagine a sixth-grade girl being told she was selling sex toys in front of friends and strangers.

The whole basketball team ended up wailing and crying," he said.

The Men’s Education Program in Cincinnati conducts surveys before and after the eight-hour class for men caught soliciting a prostitute.

The surveys aim to gauge their attitudes about prostitution while a questionnaire gathers demographics, such as ethnicity, relationship status, and age the first time they solicited a prostitute.

Imagine your mother or the person you think of like a mother.

Now picture her on the street, offering sexual services for at least a half-dozen times a day. The scenario was one 21 men were asked to imagine while sitting inside Cincinnati’s city hall earlier this month for a class.

The judge told him:"You became involved with two girls at the school where you were employed and it follows these offences were in gross breach of the trust placed in you to behave properly towards them.