A prison officer has been told to expect an immediate custodial sentence after being convicted of having a sexual relationship with an inmate at a women's jail.

Iain Cocks had a relationship lasting nearly two years with the prisoner at HMP New Hall near Wakefield, where his wife was also working at the time.

Prosecutors told how the 51-year-old had consensual sex with the inmate, who cannot be named for legal reasons, over a laundry room washing machine and in her cell.

Cocks, from Barnsley, also engaged in flirtatious behaviour with another inmate before sexually assaulting her in her cell.

A jury heard how the offence took place on the victim's bed, and only stopped after she said: "Don't you think I am vulnerable?"

Jurors were told how the defendant had said to both women that he was in a bad marriage.

During his week-long trial, Leeds Crown Court heard how Cocks invited a third woman, who had just been released from the jail on licence, to his marital home, where they had sex.

On Tuesday, a jury convicted him of two counts of misconduct in a public office and one of sexual assault.

The offences were committed between June 2015 and May 2017.

Cocks, who looked to the ground and shook his head as the verdicts were delivered, is due to be sentenced at the same court on December 13 after victim impact statements have been prepared.

Remanding him in custody until then, Judge Simon Phillips told him: "A sentence of immediate imprisonment is inevitable, I know that you will understand that."

Addressing the jury, the judge added: "Unhappily, the expectations of the prison service have not been carried out in any fit and proper way by this one particular individual."