Question: Who was the commanding officer of Fort Leavenworth When Noyes arrived for his assignment? Passage:Noyes served on frontier duty at Fort Leavenworth, Kansas from November 1865 to June 1866, at Fort Riley, Kansas from June 1866 to March 13, 1867, at Fort Laramie, Dakota Territory from May 1 to November 1867, and at the newly established Fort D. A. Russell, Dakota Territory from November 17, 1867 to June 1868, during which time he was on a leave of absence from December 15, 1867 to March 28, 1868. He served at Fort McPherson, Nebraska from July 1868 to May 1869 and in the field to November 1869, at Omaha Barracks, Nebraska to April 1870, and at Medicine Bow, Nebraska until November 1870. Noyes was stationed at Fort Sanders, Wyoming Territory until March 1874, during which time he escorted engineers making a reconnoissance of northwestern Wyoming from June 4 to September 27, 1873. He returned to Fort Laramie from March to October 1874 before again being stationed at Fort Sanders until May 3, 1875. Noyes went on a leave of absence from May 3 to July 23, 1875, and then was a witness before civil court until September 2, 1875. He returned to frontier duty and was assigned to Fort Laramie from October 1875 until early 1876, when he was ordered to move his Company I of the 2nd Cavalry to Fort Fetterman, Wyoming Territory, in order to participate in the Big Horn Expedition of March 1-27, 1876. During this campaign Noyes was given command of the 3rd Battalion, consisting of Companies I and K of the 2nd U.S. Cavalry at the Battle of Powder River in Montana Territory. Upon returning to Fort Laramie, Noyes would be court-martialed for his actions during the battle in unsaddling his company and therefore rendering it unable to support the remainder of the command fighting in the village. He was found guilty on May 2, but allowed to rejoin his regiment and command a five-company battalion of the 2nd Cavalry during on Big Horn and Yellowstone Expedition from May 23 to October 28, 1876, being engaged in the Battle of Prairie Dog Creek on June 9 and the Battle of Rosebud on June 17, 1876. Noyes was posted to Fort D. A. Russell from November 8, 1876 to January 13, 1877, at Fort Fred Steele from January 14 to September 23, 1877, and at the newly established Fort Keogh, Montana Territory from October 24, 1877 to August 15, 1878, during which time he was on a leave of absence from March 14 to April 25, 1878. Noyes served on Mounted Recruiting Service from October 1878 to September 30, 1879 and was promoted Major, 4th Cavalry effective June 14, 1879. He was in command of a battalion at Fort Garland, California from December 1, 1879 to March 12, 1880, of Fort Hays, Kansas until May 30, 1880, of a battalion in the field in New Mexico Territory until November 6, 1880, and again of Fort Hays, Kansas until July 20, 1881. Noyes was transferred to Fort Elliott, Texas until November 1881, to Fort Craig, New Mexico Territory to March 27, 1883, in command of a battalion in the field until April 8, 1883, again at Fort Craig until June 28, 1883, and at Fort Wingate, New Mexico Territory to June 13, 1884. He was in command of Fort McDowell, Arizona Territory until June, 1886, stationed at Tucson, Arizona until October 1886, in command of Fort Lowell, Arizona until November 30, 1888, and at Fort Bowie until July 1890. Major Noyes was then transferred to the northwest, serving at Fort Walla Walla, Washington until August 1890, and at Boisé Barracks, Idaho on July 1, 1891. He was promoted to Lieutenant Colonel of the 5th Cavalry on July 1, 1891 and served in that capacity at Fort Supply, Indian Territory from November 1891 to August 1892 before being transferred to his old regiment, the 2nd Cavalry, on August 12, 1892. Noyes served with the 2nd at Fort Huachuca, Arizona until August 1893, at Fort Wingate, New Mexico until September 1894, at Fort Logan, Colorado, until November 1895, and again at Fort Wingate until April 17, 1898. Lieutenant Colonel Noyes was serving there when the Spanish American War broke out in the spring of 1898.

Output: a