Army had the mission of containing western tribes of Native Americans on the Indian reservations. They set up many forts, and engaged in the last of the American Indian Wars. U.S. Army troops also occupied several Southern states during the Reconstruction Era to protect freedmen. The key battles of the Spanish–American War of 1898 were fought by the Navy. Using mostly new volunteers, the U.S. forces defeated Spain in land campaigns in Cuba and played the central role in the Philippine–American War. 20th century Starting in 1910, the army began acquiring fixed-wing aircraft. In 1910, during the Mexican Revolution, the army was deployed to U.S. towns near the border to ensure the safety of lives and property. In 1916, Pancho Villa, a major rebel leader, attacked Columbus, New Mexico, prompting a U.S. intervention in Mexico until 7 February 1917. They fought the rebels and the Mexican federal troops until 1918. World wars The United States joined World War I as an "Associated Power" in 1917 on the side of Britain, France, Russia, Italy and the other Allies. U.S. troops were sent to the Western Front and were involved in the last offensives that ended the war. With the armistice in November 1918, the army once again decreased its forces. In 1939, estimates of the Army's strength range between 174,000 and 200,000 soldiers, smaller than that of Portugal's, which ranked it 17th or 19th in the world in size. General George C. Marshall became Army chief of staff in September 1939 and set about expanding and modernizing the Army in preparation for war. The United States joined World War II in December 1941 after the Japanese attack on Pearl Harbor. Some 11 million Americans were to serve in various Army operations. On the European front, U.S. Army troops formed a significant portion of the forces that landed in French North Africa and took Tunisia and then moved on to Sicily and later fought in Italy. In the June 1944 landings in northern France and in the subsequent liberation of Europe and defeat of Nazi Germany, millions of U.S. Army troops played a central role. In 1947, the number of soldiers in the US Army had decreased from eight million in 1945 to 684,000 soldiers and the total number of active divisions had dropped from 89 to 12. The leaders of the Army saw this demobilization as a success. In the Pacific