What gave the writer of Pirates of the Caribbean 1 the idea to write it?

The writers, Ted Elliot and Terry Russio, were hired to write a movie based on the all-time favorite Disney attraction. Pirates of the Caribbean, was originally thought of by Walt Disney himself. He made a ride called Pirates of the Caribbean. That is why we have the movies now.