The expensive and at times bitter contest was one of just three elections for governor this year, all in traditionally strong Republican states.