The 1898 Treaty of Paris - Article XVI
It is understood that any obligations assumed in this treaty by the United States with respect to Cuba are limited to the time of its occupancy thereof; but it will upon termination of such occupancy, advise any Government established in the island to assume the same obligations.
You can read the 1898 Treaty of Paris for yourself, here --> "www.avalon.law,yale.edu"