General Nelson A. Miles commanded Fort Huachuca as his headquarters in his campaign against Geronimo in 1886. After the surrender of Geronimo in 1886, the Apache threat was extinguished, but the army continued to operate Fort Huachuca due to its strategic border position. In 1913, the fort became the base for the "Buffalo Soldiers", the 10th Cavalry Regiment composed of African Americans. It served this purpose for twenty years. During General Pershing's failed Punitive Expedition of 1916–1917, he used the fort as a forward logistics and supply base. From 1916–1917, the base was commanded by Charles Young, the first African American to be promoted to colonel. He left for medical reasons. In 1933, the 25th Infantry Regiment replaced the 10th Cavalry at the fort.