In 2004, Depp earned an Academy Award nomination for his starring role as Captain Jack Sparrow in the family adventure Pirates of the Caribbean. The film was a box office smash, and led to the creation of a Pirates franchise. At the end of that year, Depp also turned in a critically acclaimed performance in Finding Neverland, in which he starred as Peter Pan creator J.M. Barrie. The film earned him more than 10 award nominations, including both Academy and Golden Globe nods.