The national government continued to handle Indian affairs. The Army's 1874 Custer expedition took place despite the fact that the western half of present-day South Dakota had been granted to the Sioux by the Treaty of Fort Laramie as part of the Great Sioux Reservation. The Sioux declined to grant mining rights or land in the Black Hills, and the Great Sioux War of 1876 broke out after the U.S. failed to stop white miners and settlers from entering the region. The Sioux were eventually defeated and settled on reservations within South Dakota and North Dakota.