(CNN) Jason Spencer, a Georgia state lawmaker who dropped his trousers and repeatedly used the "n-word" on an episode of the Showtime series "Who Is America?" on Sunday night, has announced his resignation. 
 
 His resignation will take effect on July 31, according to a letter he submitted to Georgia House Speaker David Ralston. 
 
 Spencer, a Republican who represents the community of Woodbine in southeast Georgia, appeared in a segment in which the show's star, Sacha Baron Cohen, played a character named Col. Erran Morad. 
 
 Spencer was pranked into believing the comedian was an Israeli anti-terrorism expert who was able to convince the legislator that a series of racist acts would protect him against terrorists. 
 
 They first discussed Spencer's support of a burqa ban. 
 
 Spencer told Cohen's character, "I don't call it a burqa ban, I call it an anti-masking statute." 
 
 From there, Cohen engaged in a series of supposed anti-terrorism exercises that included telling Spencer to yell as a way of attracting attention during an ISIS kidnapping attempt. 
 
 "In America there is one forbidden word," Cohen said. "It is the 'n-word.'" 
 
 After Spencer yelled the racial slur, Cohen responded "Are you crazy? The 'n-word' is noonie! Not this word. This word is disgusting." 
 
 "Got it," Spencer said. 
 
 Cohen also got Spencer to imitate an Asian accent in an exercise that had him pretending to be an Asian tourist in an attempt to take a photo under a person's burqa and to drop his trousers "to use your buttocks to intimidate ISIS." 
 
 Ralston called Spencer's actions and language "reprehensible" in a statement provided to CNN, and called for him to resign, saying: "Georgia is better than this." 
 
 The actions and language used by Jason Spencer are appalling and offensive. There is no excuse for this type of behavior, ever, and I am saddened and disgusted by it. — Governor Nathan Deal (@GovernorDeal) July 23, 2018 
 
 Georgia Gov. Nathan Deal tweeted about Spencer's actions on Monday. 
 
 "The actions and language used by Jason Spencer are appalling and offensive," Deal tweeted. "There is no excuse for this type of behavior, ever, and I am saddened and disgusted by it." 
 
 JUST WATCHED Did Sacha Baron Cohen punk Dick Cheney? Replay More Videos ... MUST WATCH Did Sacha Baron Cohen punk Dick Cheney? 02:12 
 
 Spencer has not returned calls from CNN, but told the Atlanta Journal-Constitution the Showtime series got him to participate by taking advantage of his fears that he or his family would be attacked -- fears sparked by death threats he says he received after he proposed legislation barring Muslim women from wearing burqas in public. 
 
 "In posing as an Israeli agent, (Cohen) pretended to offer self-defense exercises. As uncomfortable as I was to participate, I agreed to, understanding that these 'techniques' were meant to help me and others fend off what I believed was an inevitable attack. 
 
 "My fears were so heightened at that time, I was not thinking clearly nor could I appreciate what I was agreeing to when I participated in his 'class.' I was told I would be filmed as a 'demonstration video' to teach others the same skills in Israel. Sacha and his crew further lied to me, stating that I would be able to review and have final approval over any footage used. 
 
 "I deeply regret the language I used at (Cohen's) request as well as my participation in the 'class' in general. If I had not been so distracted by my fears, I never would have agreed to participate in the first place. 
 
 "I apologize to my family, friends, and the people of my district for this ridiculously ugly episode," Spencer said. 
 
 Spencer told the Atlanta Journal-Constitution the show "exploited" his state of mind "for profit and notoriety." 
 
 "This media company's deceptive and fraudulent behavior is exactly why President Donald Trump was elected," he said in a statement last week in response to other politicians falling prey to the comedian. 
 
 Showtime had no comment when contacted by CNN on Monday. 
 
 Boker tov. I have been inform elected official & all-round mensch I meet, Jason Spencer, have somehow been portray in bad light by Showtime. To reveal the truth, here is the unedited film. Do not worry Jason Shpenker, Erran Morad have got your backsidehttps://t.co/Tnj7lX8zf5 — Colonel Erran Morad (@ErranMorad) July 23, 2018 
 
 Still in character, Cohen, as Israeli Col. Erran Morad, posted videos of Spencer on Twitter with this message: 
 
 "Boker tov. I have been inform elected official & all-round mensch I meet, Jason Spencer, have somehow been portray in bad light by Showtime. To reveal the truth, here is the unedited film. Do not worry Jason Shpenker, Erran Morad have got your backside." 
 
 Previous calls for Spencer's resignation 
 
 Some called for Spencer's resignation last year after he warned former state Rep. LaDawn Jones, a black woman, that she would not be "met with torches but something a lot more definitive" if she continued to call for the removal of Confederate statues in south Georgia, and suggested that someone who didn't understand this "will go missing in the Okefenokee" swamp. 
 
 Spencer was elected to the Georgia House in 2010. He has served four terms and is still in office, but was defeated by political newcomer Steven Sainz in the Republican primary in May. ||||| The Georgia lawmaker who exposed himself and yelled racial slurs during an episode of Sacha Baron Cohen’s Showtime series is resigning his seat in the state Legislature, according to House Speaker David Ralston’s office. 
 
 State Rep. Jason Spencer faced increasing pressure to step down shortly after the episode of “Who is America?” aired Sunday night, and some politicians were urging a special session to oust him if he refused. He will step down at the end of the month, Ralston spokesman Kaleb McMichen said late Tuesday. 
 
 Spencer apologized for the “ridiculously ugly episode,” but initially refused to resign. Although he lost the GOP primary in May, he could have remained in public office through the November general election. 
 
 “Sacha Baron Cohen and his associates took advantage of my paralyzing fear that my family would be attacked,” said Spencer, who added that he was told the techniques would deter “what I believed was an inevitable attack.” 
 
 If he refused to step down, he faced potential repercussions: Georgia Republican leaders were researching ways to reprimand him, and two legislative leaders discussed filing a joint ethics complaint targeting Spencer’s behavior. 
 
 But he also had financial incentive to stay. If he had remained in office through January, he would have logged eight years of service and become eligible for taxpayer-subsidized health insurance for life. 
 
 What You Need to Know: Jason Spencer 
 
 Read more: Jason Spencer and the ‘crazy’ factor in Georgia politics 
 
 Read more: Pranking of state Rep. Jason Spencer is a television tradition 
 
 Read more: In Rep. Jason Spencer's Southeast Georgia district, disgust at his racist words, antics 
 
 The episode shows Cohen, who portrayed himself as an Israeli military expert, at a gym persuading Spencer to take part in what he was told was a counterterrorism video. 
 
 Cohen gets Spencer to yell racial epithets, make offensive remarks about Chinese tourists and pull down his pants and shimmy his naked buttocks toward purported attackers while yelling “USA” and “America.” He was told these tactics ward off homophobic militants. 
 
 (Watch Spencer’s unedited appearance on the show, which contains profanity and nudity) 
 
 In another clip after the show’s credits, Spencer returns to the camera with a “message to the terrorists.” He then repeats a racial slur and stabs a knife into the groin area of a dummy clad in a black burqa before shoving another item into the dummy’s mouth. 
 
 At the end of the segment, Spencer reminds the audience he’s an elected official serving in the Georgia Legislature. It ends with the Georgia peach logo flashing on screen. 
 
 It was the most humiliating yet to air on Cohen’s new show, which last week featured several Republican lawmakers and gun rights supporters backing a fictitious program to teach kindergartners to use firearms. 
 
 Spencer told The Atlanta Journal-Constitution last week that he was considering legal action against the show’s producers, and he claimed they “took advantage of my fears that I would be attacked by someone” to persuade him to appear. 
 
 “They exploited my state of mind for profit and notoriety,” said Spencer, who said he was denied the chance to have final approval over what will air. “This media company’s deceptive and fraudulent behavior is exactly why President Donald Trump was elected.” 
 
 Spencer has declined to comment further and couldn’t be reached late Tuesday. Showtime has denied that Cohen or the show’s producers acted improperly. 
 
 Spencer was defeated by Republican challenger Steven Sainz after four terms representing a conservative southeast Georgia district, where he grabbed headlines that enraged lawmakers from both parties. 
 
 He faced calls for resignation late last year after he warned a black former state legislator that she won’t be “met with torches but something a lot more definitive” if she continued to advocate for the removal of Confederate statues in South Georgia. 
 
 And Republican leaders roundly criticized his legislative proposal that would bar women from wearing burqas on public property, forcing him to withdraw the legislation. 
 
 This year, he shifted his focus toward a bill that would have allowed adult survivors of child sexual abuse more time to file lawsuits. The bill didn’t pass amid powerful opposition from the Boy Scouts and some other nonprofit organizations. ||||| Following an appalling appearance on Sacha Baron Cohen’s new political stunt show Who is America?, Georgia lawmakers are calling for state Representative Jason Spencer’s resignation. 
 
 During Sunday night’s episode of the new Showtime series, Cohen disguised himself as one of his latest characters, Israeli “anti-terrorism expert” Erran Morad, and invited Spencer to learn a number of techniques to guard himself against Islamic extremists. (In 2016, Spencer introduced a bill that would have banned Muslims from wearing head coverings.) 
 
 One technique Cohen suggests Spencer try is pretending to be a Chinese tourist to get closer to potential terrorists. Spencer obliges, pretending to be Chinese by speaking racist gibberish, throwing in random phrases like “red dragon,” “Hong Kong” and “Konichiwa” — which, notably, is a greeting in Japanese. 
 
 Later, Cohen says that if Spencer is ever in immediate danger of being kidnapped, Spencer should use “the n-word,” which he calls America’s “one forbidden word,” to draw attention to himself. 
 
 “Now, I am going to be the terrorist,” Cohen says. “You have three seconds to attract attention. Go.” 
 
 Spencer responds by yelling “n*gger” multiple times. 
 
 Later, Cohen suggests a role-play scenario in which Spencer thrusts his bare buttocks at him as a way to threaten potential terrorists. (Cohen tells Spencer that members of ISIS believe coming in contact with a man’s buttocks will turn them homosexual.) 
 
 Again, Spencer obliges, shouting “America” as he runs backward, buttocks-first, at Cohen. 
 
 Spencer issued a statement in response to the episode, saying he was told “the video [he filmed with Cohen] was intended to be an educational aid to train elected officials who may be targeted by terrorists.” 
 
 “They exploited my state of mind for profit and notoriety,” Spencer said. “This media company’s deceptive and fraudulent behavior is exactly why President Donald Trump was elected. Furthermore, there are sensitive parts of this training that took place under a kidnapping scenario where I was repeatedly asked to shout provocative language which I requested be removed.” 
 
 Spencer then said he “sought legal counsel” to challenge the show’s use of the footage. 
 
 Monday morning, Georgia lawmakers spoke out against Spencer, demanding he resign, according to the New York Times. Spencer has declined to do so. In a statement sent to the Washington Post, Spencer said he recently lost his primary, and thus would wait until the end of his term to vacate his position. 
 
 “I apologize to my family, friends, and the people of my district for this ridiculously ugly episode,” Spencer said. “There are calls for me to resign. I recently lost my primary election, so I will not be eligible to hold office next term. Therefore, I will finish the remaining five months at my post and vacate my seat.” 
 
 Reportedly, Cohen “duped” a number of other prominent politicians during filming for Who is America?, including former Alabama gubernatorial candidate Roy Moore and former vice-presidential candidate Sarah Palin. They haven’t appeared on the show yet — but here’s to hoping they were smart enough to keep their pants on. 
 
 Sign up for Hype Daily — Mic’s morning entertainment roundup. It’s got all the news you need to start your day.
– The second episode of Sacha Baron Cohen's Who Is America? aired Sunday night on Showtime, and it may have claimed its first casualty: Georgia lawmakers are calling for state Rep. Jason Spencer to step down after what Mic calls a "life-ruining appearance" on the show. "Of all the individuals featured in Who Is America? so far, Spencer seems the most likely to have damaged his career," Kathryn VanArendonk and Megh Wright declare on Vulture. The segment featured Baron Cohen, pretending to be an Israeli "anti-terrorism expert" named Erran Morad, supposedly teaching Spencer (who introduced a bill in 2016 that would have effectively barred Muslims from wearing burkas or niqabs) how to protect himself from Islamic extremists. Read on for what happened, the reaction that has followed, and more from the episode: So what exactly did Spencer do during the segment? He pretended to be a Chinese tourist (attempting to imitate a Chinese accent and spouting what Mic calls "racist gibberish"), pulled down his pants and underwear to thrust his bare buttocks at Morad after Morad told him members of ISIS believe any man who comes in contact with another man's butt will become homosexual, and repeatedly shouted the n-word as part of a kidnapping role-playing exercise in which Morad told him that doing so would attract attention to himself. You can watch the segment here.