(CNN) Resurfaced old tweets allegedly posted by actor Hartley Sawyer prior to joining The CW series "The Flash" have resulted in him being fired.
"Hartley Sawyer will not be returning for season seven of The Flash," said a statement from The CW, producers Warner Bros. TV and Berlanti Productions and executive producer Eric Wallace released on Monday read. "In regards to Mr. Sawyer's posts on social media, we do not tolerate derogatory remarks that target any race, ethnicity, national origin, gender, or sexual orientation. Such remarks are antithetical to our values and policies, which strive and evolve to promote a safe, inclusive and productive environment for our workforce."
Sawyer, 35, has not commented about his termination.
Warner Bros. TV is owned by CNN's parent company.
Last week actress Skai Jackson tweeted screen grabs of several of the Sawyer's purported tweets, writing "Hartley Sawyer, you have been exposed..."
One shows a tweet from 2012 which read, "The only thing keeping me from doing mildly racist tweets is the knowledge that Al Sharpton would never stop complaining about me" and another from 2014 which read, "Enjoyed a secret boob viewing at an audition today."
Two other tweets from 2012 read, "As a lad, one of my favorite activities was kidnapping homeless women and cutting off their breasts" and "Date rape myself so I don't have to masturbate."
CNN has been in contact with the person who appears to have originally shared the offensive tweets.
That person, who asked not to be identified, said they gathered the old tweets and posted them after Sawyer made a comment about Black Lives Matter.
Screen grabs of the tweets have circulated over the last two weeks. Sawyer's Twitter account has since been deleted.
Without mentioning specific tweets, the actor -- who played Ralph Dibny on the series for three seasons -- apologized in a lengthy statement posted on his verified Instagram account on May 30 -- hours after the screen grabs originally started circulating.
"I'm not here to make excuses - regardless of the intention, my words matter and they carry profound consequences," the statement read. "And mine can and have caused pain and embarrassment along with feelings I can only imagine, to supporters and fans, my cast mates, the crew, my colleagues and friends."
"I owe them all an apology. And I owe each of you an apology," he added. "Thank you for holding me accountable."
His Twitter account has been deleted.
Eric Wallace, executive producer of "The Flash," posted a statement Monday saying the tweets "broke my heart and made me mad as hell."
"I, too am committed to bringing permanent change to the work environment here on The Flash," Wallace wrote. "Yes, this is a family show. But it's for all families. That includes Black and Brown ones."