An Oklahoma state appeals court has upheld the conviction of a former judge who was convicted of exposing himself by using a sexual device while presiding over trials.

Former District Judge Donald Thompson was sentenced in August 2006 to four years in prison on four counts of indecent exposure.