Roseanne Barr lost her popular television show on Tuesday, when ABC decided to cancel the sitcom “Roseanne” because the actress posted a racist, Islamophobic comment on Twitter, in which she suggested that Valerie Jarrett, a longtime adviser to former President Barack Obama, looked like an ape and was part of a secret Muslim plot. In her subsequently deleted tweet, Barr had replied to a far-right conspiracy theorist’s claim that Jarrett had concealed illicit activity by Obama, like spying on Donald Trump. Jarrett, Barr wrote, was born after the “Muslim Brotherhood and Planet of the Apes had a baby.” Among those who took a screenshot of the original tweet and alerted ABC was the critic Scott Tobias.

Again, great work @ABCNetwork for reviving this racist crackpot's career. (VJ is Valerie Jarrett.) pic.twitter.com/piVEcYzIcI — Scott Tobias (@scott_tobias) May 29, 2018

Although Barr later posted an apology of sorts, the network said in a statement that it had decided to cancel the show because the original comment was “abhorrent, repugnant and inconsistent with our values.” ABC announced its decision about three hours after Barr’s apology seemed to confirm that her initial comment could only be interpreted as both racist and Islamophobic.

I apologize to Valerie Jarrett and to all Americans. I am truly sorry for making a bad joke about her politics and her looks. I should have known better. Forgive me-my joke was in bad taste. — Roseanne Barr (@therealroseanne) May 29, 2018

In addition to a racist trope about African-Americans, the comment Barr initially defended as “a joke” drew on a far-right conspiracy theory that Jarrett is a secret Muslim agent, spun from the fact that she was born in Iran. As Jodi Kantor explained in the New York Times in 2008, Jarrett was born in 1956 to African-American parents who were not Muslim in the Iranian city of Shiraz, where her father, a physician, had taken a job after being offered a lower salary than his white peers in Chicago. Far from being an Islamic theocracy at the time, Iran was then ruled by Shah Mohammad Reza Pahlavi, a close ally of the United States who had been restored to power in a CIA-led coup in 1953. Barr’s attempt to explain away her comment about Jarret as “a bad joke about her politics and her looks,” depends on the assumption that her audience would understand her references to both the racist belief that African-Americans look like apes and the baseless conspiracy theory, popular on the far-right, that Obama and his close adviser were secretly agents of a Muslim plot for global domination. Although she deleted her racist tweet about Jarrett, the rest of Barr’s Twitter feed reveals a mind saturated in far-right conspiracy theories. In just the hour leading up to her apology on Tuesday, Barr’s tweets and retweets included: references to the viral “QAnon” conspiracy theory, which holds that a senior government official is using 4chan to post clues about pedophiles in the intelligence services plotting against Trump; a blog post claiming that Obama had directed the CIA to spy on Trump’s campaign; lies about the philanthropist George Soros having collaborated with the Nazis and claims that he was scheming to undermine democracy in cahoots with Chelsea Clinton; another attempt to smear Jarret by claiming that her mother was an anti-American communist; and an impassioned defense of Tommy Robinson, a far-right English nationalist who was jailed for contempt of court in Britain after using Facebook to harass and smear British Muslims. As outrage spread across social networks over Barr’s clear racism against an African-American woman, several commentators noted that ABC had previously seemed willing to overlook her prior, frequent expressions of anti-Muslim bias.

ABC decided to overlook @therealroseanne’s history of incitement to racial, religious and ethnic hatred against Palestinians and Muslims because there was money to be made. But her vile racism is catching up and can’t be ignored. @RoseanneOnABC https://t.co/UeNp2DEJlb — Ali Abunimah (@AliAbunimah) May 29, 2018

Roseanne should have stuck to saying insanely racist things about Palestinians, which is something that that you can do freely without consequence in the United States for some reason. — Murtaza Mohammad Hussain (@MazMHussain) May 29, 2018

Barr herself replied to one such comment, claiming that it was not racist to hate an entire class of people as long as they are defined solely by their religion and not their ethnicity.

Muslims r NOT a race. — Roseanne Barr (@therealroseanne) May 29, 2018

While it is probably only a matter of time until the president weighs in, the Yahoo News editor Colin Campbell pointed out that Barr’s tweets spreading lies about Soros had already been retweeted by Donald Trump Jr.

After Barr gave a signal boost to lies about Soros’s childhood in Nazi-occupied Hungary, his spokesperson made it clear that the allegations so common in far-right circles are completely false.

GEORGE SOROS spokesperson responds to ROSEANNE's claim that he turned in fellow Jews to the Nazis, while stealing their wealth: "Such false allegations are insulting to the victims of the Holocaust" & "an affront to Mr. Soros & his family, who against the odds managed to survive" pic.twitter.com/Fy1qzTt8V7 — Kenneth P. Vogel (@kenvogel) May 29, 2018

In the aftermath of ABC’s decision to fire a star who made the company a huge amount of money by appealing to fellow Trump supporters, several commentators hailed the decision, while others, including some of my colleagues at The Intercept, suggested that the network should be asked why it ever gave a show to someone with her views.

Thank you, @ABCNetwork. You did the right thing. There is not any room in our society for racism or bigotry. — John Lewis (@repjohnlewis) May 29, 2018

Only thing now that's gonna be more annoying than Trump supporters whining about censorship is if ABC gets glorified by liberals. To be clear: ABC didn't do something 'brave' by firing an open racist and - KEY POINT - they shouldn't have given her a show in the first place! — Mehdi Hasan (@mehdirhasan) May 29, 2018

This very strangely implies ABC believes a red line was crossed today that wasn't previously crossed, which is insane. — Tom Gara (@tomgara) May 29, 2018

To be absolutely clear, one of America’s biggest media & entertainment companies was willing and gave this woman a platform despite knowing all along her “abhorrent and repugnant” views, it’s only because they played with fire and got burnt that they are now reacting. https://t.co/cOjboN7P1X — Ayman Mohyeldin (@AymanM) May 29, 2018

"Their decision to give a racist a national platform and the full support of the company violated my trust and the trust of many of my colleagues. I don't know if they can earn it back." — Jared Yates Sexton (@JYSexton) May 29, 2018

I realize this is an unpopular thing to say right now, but Roseanne is legitimately, clinically mentally ill, and not responsible for what she says in the way someone who is not would be. The real question is why ABC built a show around someone who's mentally ill. — Jon Schwarz (@schwarz) May 29, 2018

Roseanne’s bigotry was a problem for her career until she became a prominent Trump icon. ABC decided to overlook her bigotry to monetize that, and is now hoist by its own petard. — Brian Beutler (@brianbeutler) May 29, 2018

Roseanne’s problem turned out to be that she far too authentically represented the actual worldview of a significant chunk of the Trump base. — Chris Hayes (@chrislhayes) May 30, 2018

remember when ABC wouldn't air that Blackish episode about black athletes kneeling, but then gave this person a series reboot? https://t.co/Dg0sLrTu4v — Wesley (@WesleyLowery) May 29, 2018

Thanks ABC. Now can we get that @blackishabc episode about kneeling athletes? — Alice Speri (@alicesperi) May 29, 2018

Interesting to think about how the country would be different today if NBC had fired Trump after his birther remarks, and if he’d then become persona non grata on tv generally. Actually it’s not interesting: Trump simply wouldn’t be president. — Isaac Chotiner (@IChotiner) May 29, 2018

i feel bad for @POTUS-he goes thru this every single day. — Roseanne Barr (@therealroseanne) May 30, 2018