Robin Williams voiced the Genie in the 1992 cartoon and "Aladdin and the King of Thieves". He wasn't able to return for the animated show and "The Return of Jafar" due to disagreements with Disney and with Dan Castellaneta voicing him in the meantime. Williams improvised a lot of dialogue for the Genie, which made the 1992 movie ineligible for Best Adapted Screenplay. Will Smith would play the Genie in the 2019 live-action remake.