Sandoval, who represents the city's Excelsior district as the supervisor for District 11, will challenge Judge Thomas Mellon, who has served on the bench since 1994. Mellon, 65, was appointed by then-Gov. Pete Wilson, a Republican. Sandoval, a supervisor since 2000, was a deputy public defender in San Francisco and previously worked for former Mayor Art Agnos.