A federal judge on Monday refused to dismiss the case against Rep. Duncan Hunter Duncan HunterDCCC reserves new ad buys in competitive districts, adds new members to 'Red to Blue' program Wife of former Rep. Duncan Hunter sentenced to 8 months of home confinement Harris endorses Democrat in tight California House race MORE (R-Calif.), who was indicted in August on charges of fraud and campaign finance violations, according to CNN.

District Judge Thomas J. Whelan rejected claims by Hunter’s defense that because two assistant U.S. attorneys who brought the case against him had attended a fundraiser for Democratic presidential nominee Hillary Clinton Hillary Diane Rodham ClintonFox News poll: Biden ahead of Trump in Nevada, Pennsylvania and Ohio Trump, Biden court Black business owners in final election sprint The power of incumbency: How Trump is using the Oval Office to win reelection MORE, the charges were politically motivated.

ADVERTISEMENT

Hunter's attorneys, in their pretrial motion, cited correspondence between the two assistant U.S. attorneys and the Secret Service indicating they arranged to take a photo with Clinton in August 2015, according to CNN.

"The former Acting US Attorney for the Southern District of California and the Assistant US Attorney leading the investigation of Congressman Hunter both attended a political fundraiser for candidate Clinton and shortly thereafter both were involved in initiating an investigation of the first Congressman to endorse candidate Trump. These facts alone warranted recusal,” they wrote.

Neither attorney donated to Clinton’s campaign and their office told Hunter’s lawyers they appeared at the event to provide assistance to law enforcement, according to CNN.

Whelan also tentatively denied a change-of-venue motion for the September trial. Hunter’s attorneys had argued local press coverage around the allegations would taint a San Diego jury pool. The court will revisit the issue during jury selection, according to CNN.

The ruling comes the week after Whelan, a Clinton appointee, ruled that evidence allegedly showing Hunter spent campaign funds on extramarital affairs could be used as evidence in the case.

Both Hunter and his wife Margaret initially pleaded not guilty, but Margaret has since reversed her initial plea. Hunter has been stripped of his committee assignments following the initial indictment.

Hunter’s attorneys did not immediately respond to a request for comment from The Hill.