CHEYENNE, Wyo. (AP) — U.S. Sen. John Barrasso on Tuesday fended off a well-funded challenger in Wyoming's Republican primary.

He beat five opponents, including investor and Stanford University lecturer Dave Dodson of Jackson Hole. Dodson put $1 million of his own money toward a campaign that questioned Barrasso's ties to corporate interests and Washington political insiders.

Barrasso faces Wilson businessman Gary Trauner in the general election. Trauner ran unopposed for the Democratic nomination

In the gubernatorial race, former Wyoming state Rep. Mary Throne won the Democratic primary to replace outgoing incumbent Matt Mead. Throne beat three little-known candidates to secure her party's nomination.

She now faces a tough fight in heavily Republican Wyoming to become the state's first Democratic governor since 2011.