A Democratic candidate in the Virginia gubernatorial race apologized this afternoon for saying the election of Donald Trump was "like a political and constitutional September 11."

Perriello, a former congressman, made the comment last week during a campaign event in Afton, Virginia.

After video surfaced on Wednesday, Perriello took to Twitter to apologize and say that he "regrets the comparison."

I regret the comparison and apologize. Won't do it again. https://t.co/5KEDysdKTX — Tom Perriello (@tomperriello) February 15, 2017

One of the Republicans running for Virginia governor, Ed Gillespie, blasted Perriello's "offensive" and "outrageous" remark.

Tom Perriello’s 9/11 comparison is offensive. His calculated outrage is becoming increasingly outrageous. https://t.co/ue90a0mzja — Ed Gillespie (@EdWGillespie) February 15, 2017

Another Perriello opponent responded to the comment, as Corey Stewart (R-Prince William) labeled him "Dopey Tom".

#DopeyTom is at it again. Always putting his foot in his mouth. @tomperriello https://t.co/ltzckiNftX — Corey Stewart (@CoreyStewartVA) February 15, 2017

What do you think? Let us know in the comments.

'Wake Up!': Kucinich Says Intel Community Making 'Unprecedented' Effort to Upend Trump

Trump: New Reports on Russia Connections Are 'Conspiracy Theories'

Gowdy: Dems 'More Interested in Politics' Than Truth About Russia's Election Meddling

Hannity on Flynn Fallout: 'The D.C. Swamp Is Rising Up' Against Trump