 Additionally, Penélope Cruz would play Angelica, Blackbeard's daughter.While making the fourth film, screenwriter Terry Rossio stated Tim Powers' novel was an inspiration for characters, theme, settings, and basic storyline.He also stated that he and co-writer Ted Elliot had considered using Blackbeard and the Fountain of Youth in the story before reading the book, "but whenever you say those words, Powers' novel comes to mind.