Kirsten Dunst achieved international fame as a result of her portrayal of Mary Jane Watson in the Spider-Man trilogy (2002–07). Since then her films have included the romantic comedy Wimbledon (2004), the romantic science fiction Eternal Sunshine of the Spotless Mind (2004) and Cameron Crowe's tragicomedy Elizabethtown (2005). She played the title role in Sofia Coppola's Marie Antoinette (2006), and she starred in the comedy How to Lose Friends & Alienate People (2008).
In 2001, Dunst made her singing debut in the film Get Over It, in which she performed two songs. She also sang the jazz song "After You've Gone" for the end credits of the film The Cat's Meow (2001). In early 2008, Dunst confirmed she was suffering from depression, checking into a treatment center before discharging herself in March and resuming her career.