11/09/2012 05:06 pm ET

David Petraeus Resignation: Twitter Responds

Gen. David Petraeus resigned as director of the Central Intelligence Agency on Friday after admitting he had an extramarital affair, MSNBC reported.

In a letter to the CIA staff received on Friday, Petraeus wrote that he had gone to the White House on Thursday and asked the president to resign "for personal reasons."

"After being married for more than 37 years I showed extremely poor judgment by engaging in an extramarital affair," Petraeus wrote in the letter. "Such behavior is unacceptable, both as a husband and as a leader of an organization such as ours."

Petraeus' resignation came as a shock to the intelligence and political communities in Washington. The news also shocked the Twitterverse, who took to the social network site to voice their reactions. Click through the slideshow below for tweeters' responses, then head to the comments to weigh in with your thoughts.