During the Department era, from 1867 to 1884, Alaska was variously under the jurisdiction of the U.S. Army (until 1877), the United States Department of the Treasury from 1877 to 1879, and the U.S. Navy from 1879 to 1884. Civil administration of Alaska began in 1877 under the United States Treasury Department. A Collector of Customs was appointed by the President of the United States. The Collector was the highest-ranking official of the United States government in Alaska and de facto Governor. Henry C. DeAhna, a former Union Army Officer and Mottrom D. Ball, a former Confederate Army officer, were the first individuals to serve as Collector of Customs.