“Effective immediately, I have resigned from the Moran for Congress campaign,” Patrick Moran said in a statement to TPM.

Conservative activist James O’Keefe released the damning video that led to Moran’s resignation earlier Wednesday.

“There will be a lot of voter protection,” Moran explains to the reporter in the video. “So, if they just have — you know just the utility bill or bank statement — bank statement would obviously be tough — but, they can fake a utility bill with ease.”

“You have to forge it,” Moran says, referring to the utility bill required to pose as a registered voter.

Watch the undercover video:

Moran told the undercover reporter that an attorney from either the Obama campaign or the Democratic National Committee would defend him if things went bad.

“If they feel what you have is legitimate, they’ll argue for you,” Moran says on the video. “But it’s got to look good.”

Late Wednesday, Moran denied any attempt to help anyone commit fraud.

“At no point have I, or will I ever endorse any sort of illegal or unethical behavior,” Patrick Moran told Politico. “At no point did I take this person seriously. He struck me as being unstable and joking, and for only that reason did I humor him. In hindsight, I should have immediately walked away.”