Last night, CBS aired the last episode of its longest-running comedy series “Two and a Half Men.” The show had been on the air for 12 seasons and, despite its success, was mired with controversy offscreen.

On Thursday “Two and a Half Men” came to an end during an hour-long special episode. The comedy series experienced issues back in 2011 when actor Charlie Sheen left the show in a public clash with the rest of those involved in the show. Sheen was subsequently fired from the show in May of that year, according to The Associated Press.

“The show has never been just a sitcom. … Best I can tell, it’s always had a somewhat meta nature about it, scandal and tabloid that swirl around it,” co-creator Chuck Lorre said ahead of the finale. “We tried to embrace that in the finale.”

Ashton Kutcher came in to replace Sheen and continued to star alongside Jon Cryer. Talking to Entertainment Tonight days before the filming of the finale’s last scene, Kutcher and Cryer did not say whether or not Sheen would make a cameo.

Cryer said at the time they did not know whether Sheen would appear as they had not read the final scenes of the episode, but he did reflect on what had happened earlier.

"Obviously, we came from a very turbulent place," Cryer said. "And to have things turn into just fun was an amazing feeling. … Once Ashton arrived it was just fun, and it's been great."

Many fans of the show hoped Sheen would appear, but earlier on Thursday the actor quelled any rumors.

“Attention World: If you're looking for my much anticipated cameo on network TV, you'll have to check out 'The Goldbergs' Wed. Feb. 25 on ABC! I go where the love is. #OfCourseI’mNot,” he wrote on TwitLonger.

Lorre also released a statement to explain to fans why Sheen did not appear on the finale.

“For the record, he was offered a role. Our idea was to have him walk up to the front door in the last scene, ring the doorbell, then turn, look directly into the camera and go off on a maniacal rant about the dangers of drug abuse,” Lorne said. “He would then explain that these dangers only applied to average people. That he was far from average. He was a ninja warrior from Mars. He was invincible.”

Lorne explains, after the rant, a piano would fall on Sheen. Sheen did not find the bit funny and proposed a different one, but the two parties did not agree at the end.

Despite this, the show thanked loyal fans that followed the show since its inception in 2003, and the two stars took to Twitter as well.

Though Kutcher joked in his tweet about the show, Cryer was more honest thanking fans and the show.

Kutcher did post a heartfelt note on his Facebook page thanking Cryer for his continuing role on the series.