ABC canceled its hit sitcom "Roseanne" on Tuesday after the show's biggest star, Roseanne Barr, went on a racist Twitter rant.

"Roseanne's Twitter statement is abhorrent, repugnant and inconsistent with our values, and we have decided to cancel her show," ABC said.

In one of the tweets, Barr wrote, "Muslim brotherhood & planet of the apes had a baby=vj." Barr was responding to a comment about Valerie Jarrett, a top former aide to President Obama.

Barr had earlier apologized and said she was "now leaving Twitter."

The cancellation comes just months after the show premiered to huge ratings.