A senior judge is being investigated over an alleged affair with a male prostitute.

Judge Gerald Price QC, 60, who is married with two children, reportedly had a nine-month relationship with 25-year-old Christopher Williams, allowing him to sit in court and see confidential documents.

Price also paid him a £420 a month allowance and set him up in two rented apartments.

Williams claimed Price had passed him off as a law student in court and had taken him on official business, staying in hotel rooms together.

He also said the judge had used his experience to help him avoid punishment for public order offence of being drunk on a train.

Williams told the News of the World: “What Gerald did was dangerous. His business was truth but he lived a lie. He was at real risk of being blackmailed. Imagine the power a criminal could wield over a judge with info like this.”

He claimed the pair met on a gay escort website last September. The pair allegedly met for sex frequently over the next nine months. The relationship came to an end when Price reportedly proposed to Williams.

Williams said he challenged the judge to leave his wife and then phoned her to tell her of the relationship.

Price has not been suspended but is not sitting as a senior circuit judge in Swansea, Cardiff and Carmarthen. He is being investigated by the Ministry of Justice over a possible breach of the Guide To Judicial Conduct.

A Judicial Communications Office spokesman said: “Having been approached by the press, Judge Price has voluntarily provided a detailed account of the circumstances to the senior judiciary. The matter has been referred to the Office for Judicial Complaints to consider whether there has been a breach of discipline.”