Indictment ends two-year federal investigation of Edwards' affair cover up.

Former senator John Edwards was indicted by a grand jury in North Carolina Friday morning on federal campaign finance charges for allegedly trying to cover up an affair while running for president in 2008.

Edwards was indicted in six counts, including conspiracy, four counts of illegal campaign contributions and one count of false statements. A warrant has been issued for his arrest.

The indictment ends a two-year federal investigation against the former senator from North Carolina, who allegedly used over $900,000 to cover up an affair and baby he had with campaign aide Rielle Hunter.

"A centerpiece of Edwards' candidacy was his public image as a devoted family man," the indictment read. "

"Edwards knew that public revelation of the affair and the pregnancy would destroy his candidacy by, among other things, undermining Edwards' presentation of himself as a family man and by forcing his campaign to divert personnel and resources away from other campaign activities to respond to criticism and media scrutiny regarding the affair and pregnancy."

More From 1130 The Tiger