he started his career as a judge