miles had achieved the rank of colonel by 1859. he was stationed at fort leavenworth in kansas when the civil war began. he was sent to virginia and placed in command of an infantry brigade under major general robert patterson. then he was given command of a division under brigadier general irvin mcdowell. he was at first battle of bull run, but his division was held in reserve. he was then accused of being drunk at the battle. a court of inquiry was held and he was found guilty. a court-martial was not held. but miles was not given another command until march 1862.