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

Schilling's Facebook post, which was later deleted, said, “A man is a man no matter what they call themselves."

>> Read more trending stories

"Now you need laws telling us differently? Pathetic," Schilling wrote.

The comment was posted along with a meme showing a man in a blonde wig and women's attire. The image read, “Let him in! To the restroom with your daughter or else you’re a narrow minded, judgmental, unloving, racist bigot who needs to die!!!”

Transgender bathrooms have been a controversial topic after North Carolina created a law forcing individuals to use bathrooms that correspond with their gender at birth.

In response to the law, known as the bathroom bill or HB2, entertainers including Bruce Springsteen and Pearl Jam have canceled shows in the state.

On Tuesday evening, Schilling posted a response on his personal blog that started with, "Let's make one thing clear right up front. If you get offended by ANYTHING in this post, that's your fault, all yours."

Schilling also said his words were “a comment about the basic functionality of men's and women's restrooms, period.”

>> Click here to watch WFXT's news report