Former Phillies pitcher Curt Schilling is now a former ESPN analyst.

Schilling, who was just defending himself this week after making comments on Facebook about transgender people, was fired from his post as baseball commentator and analyst, the network announced Wednesday.

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

Schilling this week reposted an image of an overweight man wearing a long blond wig and revealing women's clothing. It included the phrase: "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 his own comments, saying, "A man is a man no matter what they call themselves" and "Now you need laws telling us differently? Pathetic."

Schilling was apparently referring to laws in several states that restrict bathroom access to transgender people. He defended the post on his blog, saying he was expressing his opinion and that those criticizing him are frauds.

This isn't the first time the former pitcher has been in hot water with the network over controversial comments made on social media.

In March, during a call-in interview with Kansas City's 610 Sports Radio, Schilling said he thought Democratic presidential front-runner Hillary Clinton should go to jail over the use of a private email server during her tenure as secretary of state.

That and his other outbursts, ranging from arguing against the theory of evolution to sharing posts in favor of the Confederate flag to his August 2015 tweet comparing modern Muslims to 1940's Nazis, also resulted in discipline from the sports network where Schilling has worked since 2010.

Schilling, who joined the Phillies in 1992 but was traded to the Arizona Diamondbacks in 2000, was instrumental in the 1993 squad's surprising, but ultimately unsuccessful, World Series bid.

The Associated Press contributed to this report.