Salt Lake County Mayor Ben McAdams (D) defeated incumbent GOP Rep. Mia Love Ludmya (Mia) LoveFormer NFL player Burgess Owens wins Utah GOP primary The Hill's Campaign Report: The political heavyweights in Tuesday's primary fights The biggest political upsets of the decade MORE by fewer than 700 votes in a hotly contested race for Utah’s 4th Congressional District, turning the district blue for the first time in six years.

The race had been initially too close to call, with both McAdams and Love at different points taking a slight edge over each other. In the end, The Associated Press called the race for the Democrat on Nov. 20.

Polls had showed McAdams with a slight edge over Love, with Sabato's Crystal Ball shifting her race from a “toss-up” to “leans Democrat” just days before the election.

ADVERTISEMENT

Love had faced an uphill battle in the district, where President Trump Donald John TrumpBiden on Trump's refusal to commit to peaceful transfer of power: 'What country are we in?' Romney: 'Unthinkable and unacceptable' to not commit to peaceful transition of power Two Louisville police officers shot amid Breonna Taylor grand jury protests MORE's approval rating has been underwater amid a midterm election that has been widely framed as a referendum on the president.

After it initially appeared earlier this month that McAdams was pulling ahead, Trump slammed Love during a press conference, saying she "gave me no love."

Between both candidates, it's estimated upwards of $10 million was spent on the race, much of which was used on attack ads, local CBS affiliate KUTV reported.

The McAdams camp alleged during the race that Love violated campaign finance law. The congresswoman denies any illegal fundraising took place. Republicans, meanwhile, alleged McAdams supported raising taxes during his time serving in local politics and linked him to the Clintons and House Minority Leader Nancy Pelosi Nancy PelosiHoyer: House should vote on COVID-19 aid — with or without a bipartisan deal Ruth Bader Ginsburg lies in repose at Supreme Court McCarthy threatens motion to oust Pelosi if she moves forward with impeachment MORE (D-Calif.).