[custom_adv]
The filmmakers cited the first installment, The Curse of the Black Pearl (2003), as inspiration for the script and tone of the film. Pre-production for the film started shortly before On Stranger Tides was released in early 2011, with Terry Rossio writing a script for the film. In early 2013, Jeff Nathanson was hired to write a new script, with Depp being involved in Nathanson’s writing process.