A federal judge in North Carolina has denied former presidential candidate John Edwards’s bid to have the criminal case against him thrown out. The former North Carolina senator is being charged with using campaign funds to pay his mistress and cover up the affair during his run for the White House in 2008. Edwards fathered an illegitimate child with campaign videographer Rielle Hunter and funneled money to close aide Andrew Young, who even invited the pregnant Hunter to live with him and his wife in their home. Edwards has pleaded not guilty. The trial is scheduled for January.