John Foster

1823–1874

John Foster was a prominent officer in the Union Army during the Civil War. He served briefly as commander of the Department of the Ohio and is known for leading troops in many of the major campaigns of the war.

John G. Foster, General, USA, Civil War, LOC 00905

On November 16, the War Department issued General Orders Number 369, naming John G. Foster to relieve Ambrose E. Burnside as commander of the Department of the Ohio. Image Source: Library of Congress.

Overview

John Gray Foster (1823–1874) was a distinguished military officer from New Hampshire. A West Point graduate (1846), he served with distinction in the Mexican-American War and later held key roles during the Civil War as a Union officer. Foster was noted for his engineering expertise and leadership in battles, including the capture of Roanoke Island. Rising to brevet Major General, Foster supported William T. Sherman’s campaigns and commanded departments across the South. Despite injuries and health struggles, Foster remained active in military service until his death in 1874.

Personal Facts

  • Full Name: John Gray Foster
  • Born: May 27, 1823, Whitefield, New Hampshire
  • Parents: Major Perley and Mary (Gray) Foster
  • Education: United States Military Academy (1846)
  • Occupation: Military Officer
  • Positions: Lieutenant Colonel (USA), Brevet Brigadier General (USA), Brigadier General (USVA), Brevet Major General (USA)
  • Spouse(s): Mary L. Moale (1851), Nannie Davis (1872)
  • Died: September 2, 1874, Nashua, New Hampshire
  • Buried: Nashua Cemetery, Nashua, New Hampshire

Biography

Early Life and Education

John Gray Foster was born on May 27, 1823, in Whitefield, New Hampshire. He was the firstborn of seven children of Major Perley Foster and Mary Gray. Foster’s father served as a ship’s carpenter on Commodore Oliver Hazard Perry’s flagship on Lake Erie during the War of 1812.

Young Foster spent his early years in Whitefield, before moving with his family to Nashua, New Hampshire, when he was approximately ten years of age. While living there, he attended the Hancock Academy and at Crosby’s Nashua Literary Institute.

U.S. Military Academy

U.S. Representative Charles G. Atherton secured an appointment for Foster to the United States Military Academy, where Foster enrolled on July 1, 1842. Among his classmates were future Union General George Stoneman and future Confederate Generals Thomas J. (Stonewall) Jackson and George E. Pickett. Foster proved to be an excellent student at West Point, graduating fourth in his class of fifty-nine cadets on July 1, 1846. Upon graduation, officials brevetted Foster to second lieutenant and assigned him as an assistant engineer with the Army Corps of Engineers, stationed in Washington, D.C.

Mexican-American War

Like many future Civil War general officers, Foster gained invaluable combat experience during the Mexican-American War (April 25, 1846–February 2, 1848). During that conflict, he was engaged at the Siege of Veracruz (March 9–29, 1847), the Battle of Cerro Gordo, (April 17‑18, 1847), the Battle of Contreras (August 19‑20, 1847), and the Battle of Churubusco (August 20, 1847). In recognition of his “Gallant and Meritorious Conduct” at Contreras and Churubusco, officials brevetted Foster to first lieutenant, effective August 20, 1847. On September 8, 1847, Mexican troops severely wounded Foster during the Battle of Molino del Rey. Disabled by his injuries, army officials as placed Foster on leave for several months and brevetted him to captain, effective September 8, 1847.

Engineer

Following the Mexican-American War, Foster was engaged in many engineering projects for the Corps of Engineers. On May 24, 1848, officials promoted him to the full rank of second lieutenant. Six years later, they advanced to him first lieutenant on April 1, 1854. From January 11, 1855, to June 27, 1857, Foster returned to West Point as an assistant professor of engineering. In 1857, he worked on several coastal improvement projects, including the completion of Fort Sumter and repairs to Fort Moultrie in Charleston Harbor in South Carolina. On July 1, 1860, Foster received a promotion to captain in recognition of “Fourteen Years’ Continuous Service” with the army.

Marriage

Sometime during the 1850s, Foster married Mary L. Moale. Their marriage produced one daughter, Anne Moale Foster. The fate of Mary remains a mystery, but records suggest that Foster later married Anna Johnson.

Battle of Fort Sumter

The beginning of the Civil War found Foster engaged in strengthening the fortifications in Charleston Harbor. Expecting a Confederate assault, Foster took part in transporting the federal garrison at Fort Moultrie to the more defensible Fort Sumter on December 26, 1860. For his leadership during the transfer, officials brevetted Foster to major, effective December 26, 1860. When hostilities eventually erupted, Foster served throughout the Battle of Fort Sumter from April 12 through April 14, 1861.

Following the evacuation of Fort Sumter, Foster assisted with several engineering projects in the East. He declined a promotion to major with the 11th U.S. Infantry on May 14, 1861, but he instead accepted a commission as a brigadier general in the volunteer army on October 23, 1861.

Service in North Carolina

On December 20, 1861, officials placed Foster in command of the 1st Brigade of Major General Ambrose Burnside‘s Coast Division. His brigade took part in Burnside’s North Carolina Expedition, beginning in early 1862. On February 8, 1862, Foster received a brevet promotion to lieutenant colonel in the regular army for “Gallant and Meritorious Services in Capture of Roanoke Island.” After the capitulation of Fort Bartow on Roanoke Island, the Union renamed the Confederate stronghold as Fort Foster in Foster’s honor. Foster subsequently took part in the subjugation and occupation of New Bern, Morehead City, Beaufort, and Washington, North Carolina. On March 12, 1862, officials brevetted Foster to colonel in the regular army for “Gallant and Meritorious Services in Capture of Newberne, N. C.”

When Burnside reorganized his forces on April 2, 1862, he gave Foster a divisional command. In early July, the War Department ordered Burnside to Virginia along with most of his troops to assist with Major General George B. McClellan‘s faltering Peninsula Campaign. Foster remained behind with 7,000 soldiers to hold what Burnside had gained in North Carolina. On July 1, 1862, the War Department placed Foster in command of the Department of North Carolina. Commensurate with his new position, Foster received a promotion to major general of volunteers on July 18, 1862. For the next year, Foster’s small force, known as the 18th Army Corps, maintained a Union foothold in Coastal Carolina.

On March 14, 1863, officials promoted Foster to major in the regular army. Four months later, the War Department assigned him to command the newly created Department of Virginia and North Carolina, effective July 15, 1863. He served as commander of that department until November 13.

Department of the Ohio Commander

In November 1863, Major General Ambrose Burnside asked to be relieved of his command of the Department of the Ohio because of illness. On November 16, the War Department issued General Orders, No. 369, relieving Burnside of his command and replacing him with Foster.

Foster’s tenure as commander of the Department of the Ohio lasted only two months, until February 9, 1864, when he stepped down after sustaining serious injuries after falling from his horse. Following his accident, Foster went on sick leave until May 5, 1864.

Department of the South Commander

When Foster returned to active duty, officials placed him in command of the Department of the South, which comprised areas of Florida, Georgia, and South Carolina occupied by federal troops. He served in that capacity until February 11, 1865. During his tenure, Foster assisted Major General William T. Sherman‘s March to the Sea by making demonstrations along the coast that diverted attention from Sherman’s troops. On March 13, 1865, officials brevetted Foster to brigadier general in the regular army “for Gallant and Meritorious Services in the Capture of Savannah, Ga.” On the same date, he received a brevet promotion to major general in the regular army “for Gallant and Meritorious Services in the Field during the Rebellion.”

Department of Florida Commander

On August 7, 1865, Foster took command of the new Department of Florida, which embraced the whole State of Florida, in the Military Division of the Gulf. A little over one year later, he mustered out of the volunteer army on September 1, 1866, but he remained on as commander of the Department of Florida as an officer in the regular army until December 5.

Death

In January 1867, army officials assigned Foster to the Engineer Bureau in Washington, D. C. Two months later, they promoted him to lieutenant colonel with the Corps of Engineers on March 7, 1867. Foster served as an army engineer, working on internal improvement projects, until his death seven years later. Following an extended illness, Foster died at his home in Nashua, New Hampshire, on September 2, 1874, at age fifty-one. He was buried at Nashua Cemetery.

Accomplishments and Milestones

  • 1823, May 27 — John Gray Foster was born in Whitefield, New Hampshire, to Major Perley and Mary (Gray) Foster.
  • 1846, July 1 — Foster graduated 4th in his class from West Point and was brevetted second lieutenant in the Corps of Engineers.
  • 1847, March–August — He fought in the Mexican-American War, including the Siege of Veracruz and battles at Cerro Gordo, Contreras, and Churubusco.
  • 1847, August 20 — Foster was brevetted to first lieutenant for “Gallant and Meritorious Conduct” at Contreras and Churubusco.
  • 1847, September 8 — Severely wounded at Molino del Rey, he was brevetted captain effective the same date.
  • 1848, May 24 — Foster was promoted to second lieutenant.
  • 1854, April 1 — Foster achieved the rank of first lieutenant.
  • 1855–1857 — He served as an assistant professor of engineering at West Point.
  • 1860, July 1 — Foster was promoted to captain for “Fourteen Years’ Continuous Service.”
  • 1860, December 26 — He was brevetted to major for his engineering role at Charleston Harbor during the Fort Sumter conflict.
  • 1861, May 14 — Foster declined promotion to major in the 11th U.S. Infantry.
  • 1861, October 23 — Foster was promoted to brigadier general of volunteers.
  • 1861, December 20 — He assumed command of the First Brigade of Burnside’s Coast Division.
  • 1862, February 8 — Foster was brevetted lieutenant colonel for his role in the capture of Roanoke Island.
  • 1862, March 12 — He was brevetted colonel for “Gallant and Meritorious Services in the Capture of Newberne, N.C.”
  • 1862, July 1 — Foster assumed command of the Department of North Carolina.
  • 1862, July 18 — He was promoted to major general of volunteers.
  • 1863, March 14 — Foster was promoted to major in the regular army.
  • 1863, July–November — He commanded the Department of Virginia and North Carolina.
  • 1863, November 16 — Foster succeeded Ambrose Burnside as commander of the Department of the Ohio but stepped down in February 1864 after an injury.
  • 1864, May 5 — He took command of the Department of the South, aiding Sherman’s March to the Sea.
  • 1865, March 13 — Foster was brevetted brigadier general and major general in the regular army for his “Gallant and Meritorious Services,” including the capture of Savannah.
  • 1865, August 7–December 5 — He commanded the Department of Florida.
  • 1866, September 1 — Foster left the volunteer army but continued serving in the U.S. Army.
  • 1867, March 7 — He was promoted to lieutenant colonel in the Corps of Engineers.
  • 1874, September 2 — Foster died in Nashua, New Hampshire, at 51 years old and was buried in Nashua Cemetery.

Citation Information

The following information is provided for citations, including APA Style, Chicago Style, and MLA Style.

  • Article Title John Foster
  • Date 1823–1874
  • Author
  • Keywords John Gray Foster
  • Website Name American History Central: The Encyclopedia of American History
  • Publisher American History Central
  • Producer R.Squared Communications, LLC
  • Date Published
  • Last Update January 20, 2025
  • Access Date October 16, 2026

Encyclopedia Sections