 Miles joined the 22nd Massachusetts as a first lieutenant but was soon transferred.In 1862, he became colonel of the 61st New York Infantry.After the war, Miles became a colonel in the Regular Army and steadily rose through the ranks, ultimately becoming the Commanding General of the United States Army in 1895.