Debasish Majumder, 54, accessed the obscene images while the victim gave her harrowing evidence at Inner London Crown Court.

He looked at photographs of topless women being gagged and couples engaged in sexual acts, Kingston Crown Court was told.

However the judge, who was sitting directly behind him, spotted the filthy pictures as the prosecution evidence was being given.

Majumder, who had worked at Inner London Crown Court for a number of years, later admitted routinely watching porn while trials were taking place.

A search of his home computer found more extreme images, including child pornography.

Debasish Majumder: Court clerk caught watching pornography during rape trial by the judge