Miguel Torres was trying to be funny, but it ended up costing him his job.

The MMA star was having a conversation with a fan on Twitter and tweeted a reference to FX’s It’s Always Sunny in Philadelphia. UFC president Dana White found the tweet to be offensive and cut Torres from the UFC roster, according to MMAFighting.com.

Torres’ tweet, which as been removed, said, “If a rape van was called a surprise van more women wouldn’t mind going for rides in them. Everyone like surprises.” Little did Torres know, his tweet could be viewed by all of his followers, not just the fan he was talking to.

After being fired, Torres apologized for the message.

“I am very sorry for upsetting my bosses at the UFC, and also to my fans and everyone else who was upset by the language in my tweets. I understand it was wrong, and I meant no harm or disrespect. Given the chance, I will do whatever it takes to make things right. I am going to learn from this,” Torres said in a statement.