In the race to succeed Gov . Bill Owens , a Republican who is retiring , Bill Ritter , a Democrat and former Denver district attorney who campaigned as a problem-solver , defeated Representative Bob Beauprez , a Republican .