As a result of the Treaty of Paris in 1898, the United States gained land from Spain. ... However people of Philippines had been struggling for independence from the Spanish rule and had declared their independence and their leader Emilio Aguinaldo had declared independence on June 12, 1898.