The US won the war and soon began to occupy and take control of the colonies after Spain surrendered. Almost 400 American soldiers died during fighting, but more than 4000 Americans died from diseases such as yellow fever, typhoid, and malaria.