He also served as mayor of Albany, California, obtaining the position after overthrowing the incumbent in a coup d'état, until he was caught using the city police force to bug the offices of political opponents and forced to resign in disgrace.