The diary of a former Saskatchewan lawyer and sex offender who's accused of trying to use his friendship with a judge to influence a court case was made public Wednesday.

James Michael Bomek, who is currently serving 3½ years in a federal prison, is on trial in Prince Albert for attempted obstruction of justice.

Police were investigating other matters in 2005 when they found Bomek's diaries — all seven volumes.

Bomek's diary entries concerning former provincial court judge Terry Bekolay led to the current charges.

Earlier in the week, the trial heard Bomek met Bekolay, while he was a judge handling criminal cases, through Prince Albert's gay community.

The Crown contends that Bomek tried to use his influence with Bekolay to help get a friend, Norman Custer, out of jail.

"Norman C called. And wants to get bail I said I'd speak to the judge!" Bomek wrote in an entry dated Dec. 6, 2003, court heard Wednesday. 

"Called Terry B re: Norman. I'll go to court tomorrow morning," says an entry dated Dec. 7, 2003.

"I had gone to visit Terry B last night to plead for Norman's release. I took him pictures," the Dec. 19 entry says.

The court has previously heard from Bekolay, who admitted Bomek gave him pictures of naked men and arranged sexual encounters for him. However, Bekolay said, he did not accept a picture of Custer and refused to discuss Custer's case with Bomek.

Bomek disbarred

Bomek once worked as a lawyer in Flin Flon, Man., and northern Saskatchewan. He was disbarred after being sentenced to 3½ years for having sex with young male clients in 2001 and 2002.

He's in prison now on a different set of charges, including sexual assault and a child pornography offence.

Bekolay was suspended with pay after a June 2006 complaint prompted a hearing at the Saskatchewan Provincial Court Judicial Council. The inquiry was cancelled when Bekolay resigned last year.

The ex-judge is a former president of the Saskatchewan NDP, and the Saskatchewan Party raised questions about the case in the legislature.

With the diaries now in as evidence, the trial is drawing to a close.

The defence began its case later Wednesday.