Miles was a 38-year veteran of the U.S. Army and the Mexican–American War, but who had been disgraced after the First Battle of Bull Run when a court of inquiry held that he had been drunk during the battle.