In the general election campaign, running against Republican nominee Bob McDonnell, Deeds ran on his record as a moderate Democrat who supported gun rights, strong punishment for criminals, and the death penalty. Deeds' stance on gun control included supporting a ban on semi-automatic firearms, but that did not prevent him from earning the endorsement of the NRA, which cited his patronage of a state constitutional amendment that guaranteed the right to hunt. McDonnell outspent Deeds by almost three million dollars (McDonnell spent $5,962,067 to Deeds' $3,103,585); $2,084,089 of McDonnell's campaign contributions were funneled through the Republican State Leadership Committee, exploiting a loophole in state law that was closed by the General Assembly shortly after the election.