In October 1877, only 40 miles from the Canada–US border in Montana's Bear Paw Mountains, the starving and exhausted Nez Percé surrendered to the U.S. Forces commanded by General Oliver O. Howard, only after Howard and Miles said they would be allowed to return to their beloved Wallowas.