A 27-year-old prison officer who had an affair with a "dangerous" inmate at Berwyn prison has been jailed for 12 months.
Ayshea Gunn, of Johntown, Wrexham, was arrested in November 2018 after it was discovered she was having an inappropriate relationship with Khuram Razaq, 29, who was serving 12 years for conspiracy to robbery.
She went on to admit misconduct in a public office and was sentenced at Mold Crown Court on Monday, police said
The court heard photos of the pair hugging and kissing - some taken in Razaq's cell - were found in Gunn's bedroom, the BBC reported.
She had been a probationary officer at the Category C prison at the time, having begun working there shortly before it opened in February 2017, the court heard.
The prosecution said Razaq had on one occasion directed Gunn to perform sex acts on live video and had formed a "grossly inappropriate" relationship with her.
Razaq, who is serving a sentence for conspiracy to rob, pleaded guilty to possession of prohibited articles and was jailed for an additional eight months.
Gunn had also smuggled a pair of knickers into the jail for him hidden in her bra.
According to the BBC, Judge Niclas Parry told Gunn: "This case is all about breaching trust and you were the person trusted."
He added: "Over a period of some months, infatuated, you did exhibit selfishness on a staggerig scale."
Razaq, who was dealt with separately, must serve a consecutive eight month jail term after he pleaded guilty to possessing a smartwatch and a mobile phone in prison.
The judge told him: "You are clearly a dangerous man. Before the age of 30 you have received two sentences in double figures."
Detective Inspector Dawn Hampson from the North West Regional Organised Crime Unit, said: “We have worked closely with Her Majesty’s Prison and Probation Service to tackle the problem of corruption within prisons.
“We want to reassure the honest, dedicated and hardworking staff that work in our prisons that we will continue to take action against people who choose to engage in corrupt activity.
“Those who choose to offend in such a way are not above the law and we urge staff to be aware of the warning signs and to report any type of inappropriate behaviour so that we can take action to bring them to justice.”