Lemony Snicket's A Series of Unfortunate Events is a 2004 American black comedy fantasy film directed by Brad Silberling. It is a film adaptation of A Series of Unfortunate Events by Lemony Snicket, covering the first three books The Bad Beginning, The Reptile Room, and The Wide Window. The film stars Jim Carrey as the villainous Count Olaf who adopts three wealthy orphan siblings in an attempts to steal their late parents' fortune. Nickelodeon Movies purchased the film rights to Daniel Handler's book series in 2000 and soon began development of a film with Barry Sonnenfeld attached to direct. Handler adapted the screenplay and courted Jim Carrey for Count Olaf. Sonnenfeld eventually left over budget concerns in January 2003 and Brad Silberling took over. Robert Gordon rewrote Handler's script, and principal photography started in November 2003. A Series of Unfortunate Events was entirely shot using sound stages and backlots at Paramount Pictures and Downey Studios. The film received generally favorable reviews from critics, grossed approximately $209 million worldwide, and won the Academy Award for Best Makeup.