MISSOULA, Mont. -

Democrat U.S. Sen. John Walsh and Republican Rep. Steve Daines secured their party's nominations in the Montana primary election Tuesday night.

Walsh currently holds the U.S. Senate seat.  He served as as Montana's lieutenant governor under Gov. Steve Bullock when he was appointed to replace retiring Sen. Max Baucus in February. 

Before being elected lieutenant governor in 2012, Walsh served 33 years in the military.  In 2008, Montana Gov. Brian Schweitzer tapped him to lead the Montana National Guard as adjutant general.

Walsh beat Wilsall rancher Dirk Adams and former Lieutenant Gov. John Bohlinger for the Democratic nomination.

Walsh will face current U.S. Rep. Steve Daines in the general election in November.  Daines has served one term in the U.S. House. He is a graduate of Montana State University.

He worked previously as an executive at RightNow Technologies, a company bought by software giant Oracle. He ran unsuccessfully for lieutenant governor in 2008, before being elected to the U.S. House in 2012.

Daines beat State Rep. Champ Edmunds and Susan Cundiff, both of Missoula.

Daines and Walsh were widely considered front runners heading in to the the Tuesday primary.