A "bored" court clerk who was caught watching porn by a judge during a rape trial has been spared jail.
Debasish Majumder, 54, sat casually viewing explicit online material while a sex attack victim gave evidence at Inner London Crown Court.
Majumder, from Haringey, north London, who had been working for the courts service for 27 years, confessed to routinely watching internet porn when he was bored.
"I only looked at porn because the case was boring and did so once or twice a week since December 2009," he said in his police interview.
He was spotted by Judge Nigel Seed QC viewing the footage, and he subsequently reported the incident.
Detectives then found indecent pseudo images of children and extreme porn on his home computer.
Kingston Crown Court heard the married father-of-one made a series of porn searches during the rape trial in early December 2010.
He also looked at non-sexual material with no relevance to his work.