Yes, the Pirates of the Caribbean film franchise is famously based on the Disney theme park attraction, not the other way around. The original ride opened in Disneyland's New Orleans Square in 1967 and was the last attraction overseen by Walt Disney himself. When the first movie, The Curse of the Black Pearl, was announced in 2003, many critics were skeptical that a "theme park ride movie" could succeed. However, the film paid heavy homage to the ride, incorporating iconic scenes like the dog holding the jail keys, the skeletal pirates, and the "Yo Ho (A Pirate's Life for Me)" song. The movie was so successful that Disney eventually "retro-fitted" the rides in California, Florida, and Tokyo to include animatronics of Captain Jack Sparrow (Johnny Depp) and Barbossa. This set a precedent for other ride-based films like Jungle Cruise and The Haunted Mansion, proving that a rich atmospheric setting can be successfully adapted into a multi-billion dollar narrative.