"Margical History Tour" is the eleventh episode of the fifteenth season of the American animated television series The Simpsons.
When Bart, Lisa, and Milhouse go to the library to study but see that most of the books have been removed due to their unpopularity, so Marge tells them stories about history.
Meriwether Lewis (Lenny) and William Clark (Carl) are assigned to explore the West by President Thomas Jefferson (Mayor Quimby).
Popular Wolfgang Amadeus Mozart (Bart) plays sonatas on the piano in Vienna and is pushed along by his father (Homer).
His failure leads to Mozart's fall from popularity, causing him to become deathly ill. At her brother's deathbed, Salieri says she wanted to ruin his life, not kill him.
Mozart says he thought highly of Salieri's work, believing that it would be remembered more than his, but his youthful death ensures he and his music will be immortalized forever.
The Emperor, however, is already focused on Ludwig van Beethoven (Nelson Muntz), whose performance of "Ode to Joy" on the piano prompts him to declare all other music obsolete.
Henry also wipes his face with Magna Carta, a document which limits the power of the Monarchy and forms the basis of the Constitution of the United Kingdom.
Later, in a dig at Tudor anti-Catholicism, Henry watches a Punch and Judy-style show in which Itchy & Scratchy accuse each other of conducting an illegal Catholic Mass and for refusing to sign the Act of Supremacy.
As Lisa points out at the end of the episode, the Mozart segment is a satire of Peter Shaffer's stage play Amadeus and Miloš Forman's Academy Award-winning film of the same name.
When Salieri arrives at the Imperial Palace, the Emperor is listening to Beethoven perform the Ode to Joy from his 9th Symphony on the piano.
[1] On Four Finger Discount, Guy Davis and Brendan Dando thought it was a filler episode but liked the scene of Homer as Henry VIII’s dream of Bart as his son.