Michael Jackson’s name is nowhere on Bart Simpson’s big dance song. Years later the show’s creator explained why.

In late 1990 a cartoon kid with spiky hair got his very own dance song. It was called “Do the Bartman,” and the singer was Bart Simpson.

Bart was the troublemaking son on “The Simpsons,” the cartoon family show on Fox. His song came out as a single in Europe on Nov. 20, 1990, and it was on the album “The Simpsons Sing the Blues” that December.

The song got a music video too. Brad Bird directed it, and Fox first aired it on Dec. 6, 1990, right after an episode called “Bart the Daredevil.” That’s 36 years ago this Sunday.

Look at the credits and you’ll find one name as writer and producer. It’s Bryan Loren. Michael Jackson’s name isn’t there at all.

Keep Michael in mind as Bart dances through the video Fox aired that December, because the story behind this song comes right after it.

Bart Simpson’s “Do the Bartman” music video from 1990

Britain loved it. The single came out there on Jan. 14, 1991, and spent three weeks at No. 1 in the UK. It went to No. 1 in Ireland, Australia and New Zealand as well. Funny enough, it was never an official single in America.

So where does Michael come in?

The man with the answer is Matt Groening, the cartoonist who created “The Simpsons.” He told the story to the magazine Loaded in August 1996. He told it again in February 1998 at the World Animation Celebration in Pasadena, California.

As Groening tells it, Michael Jackson co-wrote and co-produced “Do the Bartman.” He just couldn’t be credited for it. Michael was under contract to his own record label, Epic Records, so his name had to stay off the song.

In Pasadena, Groening put it plainly: “no one ever found out that Michael Jackson wrote that song.”

The man whose name is on the credits tells it another way, and it’s only fair to hear him out. In July 2015 Bryan Loren said, “I am the sole writer of the song.” He reportedly says Michael sang backing vocals on it, suggested the title and wanted his own name in the song.

So the two men don’t agree on who wrote it. Both of them, though, put Michael somewhere in the making of Bart’s big hit.

It wasn’t Michael’s only tie to the show, either. There’s also the birthday song Michael wrote for a little girl named Lisa.

And in 1991 Michael turned up on the show itself. He voiced a character in the episode “Stark Raving Dad,” but he did it under the name John Jay Smith. We’ve told the story of how that fake name kept his Simpsons role a secret.

Groening has talked about Michael and his show on TV as well. Here he is on “The Weekly,” where the subject came up years later.

Matt Groening talks about Michael Jackson and “The Simpsons”

Groening and Loren tell this one differently. But next time “Do the Bartman” comes on, listen closely to the voices behind Bart. According to Loren, one of them reportedly belongs to Michael.