Question: when did the us lose control of cuba
Answer: However , the Spanish -- American War resulted in a Spanish withdrawal from the island in 1898 , and following three - and - a-half years of subsequent US military rule , Cuba gained formal independence in 1902 .