When the American Civil War broke out, plebe Ernst stayed at the academy with the Union-born cadets while most southerners left for the Confederacy.[5][6] Ernst graduated from USMA just before his twenty-second birthday and was immediately billeted to First Lieutenant, Corps of Engineers.[7] Within the month, Ernst was employed by the Army of the Tennessee as an assistant engineer before Atlanta, took part in the Battle of Ezra Church, and was engaged in siege activities before Atlanta's surrender.[7] In October, 1864, Lt. Ernst was back at West Point as assistant professor of engineering,[8] lecturing about what he'd learned of practical siege engineering in the four months since his graduation.[9]
Ernst married Elizabeth Amory Lee in late 1866,[2] and spent the years immediately after the war working on constructing fortifications on the Pacific coast, and remained so occupied until 1868. He was promoted to captain in March 1867, and had command of an engineer company at Willets Point, Queens, from 1868 until 1871.[8] After detail as "Astronomer of the U.S. Commission to observe in Spain the Solar eclipse of December 22, 1870,"[9] from 1871 until 1878, Ernst was again lecturing USMA cadets about "practical engineering" and commanding the post's elite engineer company. While teaching cadets and writing the Manual of Practical Military Engineering, Ernst found time to author articles for Johnson's Encyclopedia[9] and raise his two daughters Helen Amory and Elizabeth Lee.[10]
From 1878 until 1889, Ernst was chief engineer on Osage and Mississippi River projects, and was responsible for the deepening of shipping routes in Galveston Bay.[9] In 1889, Ernst became military aide-de-camp to PresidentBenjamin Harrison and chief engineer in charge of Washington's public buildings and monuments. In 1893, the Ernst family returned once again to West Point, this time to occupy the superintendent's billet.[2]
After the explosion of the USS Maine in February, 1898, Ernst was promoted to brigadier general of volunteers and put in command of the 1st Division of volunteer troops deployed to the Puerto Rican Campaign.
Gibbons, George Christie (March 30, 1906). Report upon the Chicago Drainage Canal (2 ed.). Washington, D.C.: Government Printing Office. p. 54. Retrieved April 19, 2009.