Senator-elect, U.S. Rep. Cory Gardner, (R-Colo.), delivers his victory speech to supporters during a GOP election night gathering at the Hyatt Regency Denver Tech Center, in Denver, Colo., Tuesday Nov. 4, 2014. Gardner defeated his Democratic opponent, incumbent Sen. Mark Udall.

(AP Photo/Brennan Linsley)

The big money didn’t always win in Colorado Tuesday, especially when it came to the U.S. Senate race.

Republican Rep. Cory Gardner will move to the Senate in January, replacing Democratic Sen. Mark Udall, despite being outspent by Udall and his allies.

More: Governor's race | Senate raceCongressional races | Ballot measures | Full results

The race cost more than $92 million, with more than 70 percent of that money coming from outside groups.

And nearly $30 million of that outside spending was directed at opposing Gardner, according to a tally by the Sunlight Foundation. That compares with about $23 million in outside money opposing Udall.

Udall nearly $7 million more than Gardner through Oct. 15.

Here’s a look at the money in the race from candidates and outside groups:

6th Congressional District

U.S. Rep. Mike Coffman will return to Congress after facing a difficult challenge from former state House Speaker Andrew Romanoff in a race that cost nearly $16.5 million, according to Sunlight.

Romanoff outspent Coffman by more than $1 million through Oct. 15. But Romanoff faced a barrage of attacks ads from the National Republican Congressional Committee.

Here’s a look at the money in the 6th CD race:

State races

Democratic Gov. John Hickenlooper outspent his Republican opponent, Bob Beauprez, and eked out a narrow victory.

Democratic Gov. John Hickenlooper, left, and Republican Bob Beauprez speak to their supporters on Election Night, Nov. 4, 2014. 

(AP Photos)

Hickenlooper spent $5 million to Beauprez’s $2.4 million through Oct. 22.  Beauprez put nearly $1 million of his own money into his campaign - adding another $100,000 on Oct. 28.

But Making Colorado Great, funded primarily by the Democratic Governor’s Association, contracted for more than $6 million in TV ads attacking Republican Beauprez.

And the Republican Governor’s Association spent more than $5.4 million to attack Hickenlooper on TV, radio and through mailers.

Republican Treasurer Walker Stapleton also spent more than his opponent, Betsy Markey, to win.

But in two other statewide races, Republicans underspent their Democratic opponents and still won election.

Wayne Williams spent only about half what his opponent for secretary of state, Joe Neguse, did, and still won. Cynthia Coffman was outspent in the attorney general’s race by her Democratic opponent Don Quick. She still won.