Between 1864 and 1895 the militias of the State of Colorado and the Territories of New Mexico, Oklahoma and Arizona grew more organized as they continued to counter incursions and harassing attacks by Native Americans against white settlers. These militias would eventually organize into most of the National Guard units which would make up the 45th Infantry Division. In 1890 the Militia of the Territory of Oklahoma was formed. The four militias were mobilized in 1898 during the Spanish–American War but only forces in Arizona, Colorado and New Mexico were deployed, and fought in Cuba and The Philippines. In the early 1900s the National Guard was employed putting down various labor disputes.