Gritty appeared on "The Simpsons." Well, sort of.

The Philadelphia Flyers mascot turned up in the record-breaking TV show on Sunday night during its "Treehouse of Horror," the 30th installment of the series' special Halloween episodes.

In a short titled "Heaven Swipes Right," Homer Simpson, in a spoof of the 1978 movie "Heaven Can Wait" dies too early and gets to choose a body to return to on Earth through an app.

One of Homer's choices is a dead ringer for the Flyers mascot, who of course, was not about to stay silent on the cameo.

Tweet from @GrittyNHL: Remember Barney? This is him now.Feel old yet? @TheSimpsons pic.twitter.com/o3EhiDEySz

Except, of course, for the purple fur and green jersey.

In the 30th "Treehouse of Horror" the show also satirized the popular show "Stranger Things" and Oscar-winning movie "The Shape of Water."

Given "The Simpsons" penchant for predicting future results, it would not be surprising to see a purple Gritty in a green jersey sometime soon.