A prison officer who was pictured cuddling with an inmate who was on day release from an open prison has avoided being jailed herself.
Gemma Brean, 35, was in a relationship with convicted drug dealer Stuart Mark Davies for six weeks and even introduced him as her "boyfriend" to her teenage daughter before the romance was uncovered.
Cardiff Crown Court heard the single mother-of-two met Davies, who was serving a five-year sentence for possession of class A drugs, while she worked at the Category D HM Prison Prescoed in Monmouthshire.
She used email accounts of friends to send messages to the prisoner, who she had direct control of in her employment training and education role, and arranged to meet up with him when he was allowed out on home leave.
Prosecutor Steven Donoghue told the court their relationship was revealed on 1 November last year when Davies's ex-wife was directed to a photo of him and his "new girlfriend" after it was posted online.
Donoghue said: "That photograph is of the prisoner with the defendant, reclining on a settee, and they've got their arms around each other.
"That photograph was taken on that weekend when he was out of the prison.”
The ex-wife, having found out who the woman was, reported the photo to her own probation officer, who in turn reported it to the prison and an investigation was launched.
Brean was suspended from duty before being arrested by police, and claimed in an interview with them that the encounter on the settee had happened "by accident" after the pair turned up at the same place.
But messages found on her phone showed they had been in a relationship since the beginning of October, with a series of messages sent to him from the phone using the email account of her father's girlfriend.
Brean sent one message to her 15-year-old daughter to say she had a "new boyfriend" with a man called "Mark", sent on a weekend when Davies was on home leave and the prison officer was off duty.
Donoghue said there was no evidence the relationship was sexual, nor had it been used for financial gain or to bring illicit items into the prison.
Brean eventually resigned from her job on 1 December last year, before pleading guilty to misconduct in a public office.
Brean, from Cwm, Ebbw Vale, was sentenced to eight months in prison, suspended for 18 months, and given a 9pm to 7am curfew order on an electronic tag for four months.