QUEBEC -- A retired Quebec judge sentenced to life in prison for murdering his wife has failed to have his conviction overturned.

The Quebec Court of Appeal has dismissed an appeal by Jacques Delisle, who was found guilty last year of first-degree murder.

Delisle, who spent nearly a quarter-century on the bench, is believed to be the first Canadian judge to ever stand trial for murder.

A jury found him guilty in the shooting death of Marie-Nicole Rainvlle in November 2009.

Delisle maintained his wife was in poor health and that her death was a suicide. She died of a bullet to the head.

The Crown argued during Delisle's month-long trial that he killed his 71-year-old spouse because he wanted to avoid a costly divorce and move in with his former secretary, with whom he had been having an affair.

Delisle's lawyer argued there were procedural errors that led to the guilty verdict.