After his first starring film role in Popeye (1980), Williams starred or co-starred in various films that achieved both critical acclaim and financial success, including Good Morning, Vietnam (1987), Dead Poets Society (1989), Aladdin (1992), The Birdcage (1996), and Good Will Hunting (1997). He also starred in widely acclaimed films such as The World According to Garp (1982), Moscow on the Hudson (1984), Awakenings (1990), The Fisher King (1991), One Hour Photo (2002), and World's Greatest Dad (2009), as well as box office hits such as Hook (1991), Mrs. Doubtfire (1993), Jumanji (1995), and Night at the Museum (2006).