ESPN fired baseball analyst Curt Schilling earlier this week after he made a controversial post on Facebook.

Schilling had worked for ESPN since 2010. He's recently worked on Monday Night Baseball. He shared a Facebook post that responded to North Carolina’s law that bars transgender people from using bathrooms that don’t correspond with their birth gender. The post shows an overweight man wearing a wig and women’s clothing and reads “LET HIM IN! to the restroom with your daughter or else you’re a narrow-minded, judgmental, unloving racist bigot who needs to die.” Schilling added, “A man is a man no matter what they call themselves. I don’t care what they are, who they sleep with, men’s room was designed for the penis, women’s not so much. Now you need laws telling us differently? Pathetic,” according to the New York Times.

This isn’t the first time that Schilling has caused controversy on social media. Last August he was suspended for a month after he tweeted a comment that compared radical Muslims to Nazis.

“ESPN is an inclusive company,” ESPN said in a statement. “Curt Schilling has been advised that his conduct was unacceptable and his employment with ESPN has been terminated.”

Before joining ESPN Schilling played in the majors for 20 years. He played for the Baltimore Orioles, Houston Astros, Philadelphia Phillies, Arizona Diamondbacks, and the Boston Red Sox. He had a 216-146 record, was a six-time All-Star, and won a World Series title with the Red Sox.

As the New York Daily News notes, Schilling is still putting his opinion on social media despite losing his job. He has commented back and forth with Los Angeles Dodgers pitcher Brandon McCarthy, tweeted about the Whole Foods cake debate, and shared a meme of a great white shark that read, "In an effort to not offend, the Great White shark will be officially renamed the 'average Caucasian shark."