MINNEAPOLIS (AP) — Republican Jim Hagedorn has pulled off an upset in his party’s 1st District primary for Congress.

Hagedorn beat endorsed candidate Aaron Miller in Tuesday’s primary.

READ MORE: Minneapolis Students Walk Out Over High School's Handling Of Sexual Assault Allegations

Hagedorn is a businessman who also once served as legislative assistant to a former Minnesota congressman. His father also once represented southern Minnesota in Congress.

READ MORE: A Reunion Four Decades In The Making

Hagedorn attributes his victory to the sheer amount of travel time he spent meeting Republican voters all over the district. He tells The Free Press (http://bit.ly/1uriwSA ) that shaking hands and talking in person was critical to his campaign. He says he also focused on rural areas, especially in the western side of the district, that are often overlooked by campaigns.

He’ll face Democratic Rep. Tim Walz, who is seeking his fifth term in Congress.

MORE NEWS: 'The Right Decision For Us': More Twin Cities Bars, Restaurants Requiring Proof Of Vaccination

(© Copyright 2014 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)