 He graduated number thirty-two of fifty-three in the class of 1881.Upon graduation, Barth was commissioned in the 12th Infantry where he took part in the campaign against Geronimo, the notorious Apache.He had frontier duty from 1881-1882 and again from 1887 until 1889.