A woman who had a six-month fling with a teenage boy has been spared jail.

Marie Jane Friendship, 38, was given a six-month prison sentence suspended for two years by a judge at Bristol Crown Court.

Friendship, who lived with her partner of 18 years, told people she was in love with the teenager.

At an earlier hearing, Friendship, of Holford Court, Whitchurch, Bristol, admitted one count of having sexual activity with a child by a person in a position of trust.

Prosecutor Kenneth Bell said the offence only came to light because Friendship admitted the affair to others.

"We know that the defendant went to see a solicitor and received advice and was told what had happened was not wrong because the boy was over 16 years of age and there was no criminal offence," he said.

"As a result of that advice she confessed. The boy declined to assist the police in any way. There is no statement."

Robert Duval, defending, said Friendship's life had been wrecked by her actions and now she could not even get employment as a cleaner as a result.

"She has never been in trouble in any way, shape or form in her life before these events," he told the judge.

Judge Julian Lambert suspended a six-month prison sentence for two years, placed her on supervision for two years and told her to complete 300 hours of unpaid work and observe a six-month curfew from 8pm to 6am. Friendship was also placed on the sex offenders register for seven years.