Question: John Williams Stoddard's cousin served in which American war?

Context paragraphs:
Stoddard Martin: Stoddard Hurd Martin(1811-1865) was an American carpenter and master builder from Milwaukee, Wisconsin who served a single one-year term as a Freesoiler member of the Wisconsin State Assembly in 1849.  He was a son of Stoddard Martin (1781-1868) of North Ferrisburgh, Vermont, and in a tradition made famous by Horace Greeley's quote 'Go West, young man' took a trail which led him eventually to Madison, Wisconsin, where he built a domicile which was one of the first in the future capital of the state.  He was descended from early settlers of Massachusetts, including through his grandmother, Sarah Williams Martin, the Reverend Solomon Stoddard and Governors Simon Bradstreet and Thomas Dudley.

Porcupine-class post ship: The "Porcupine"-class sailing sixth rates were a series of ten 24-gun post ships built to a 1776 design by John Williams, that served in the Royal Navy during the American War Of Independence.  Some survived to serve again in the French Revolutionary and the Napoleonic Wars.  The first two were launched in 1777.  Three were launched in 1778, three more in 1779, and the last two in 1781.

Fort Stoddert: Fort Stoddert/Stoddard was a stockade fort in the Mississippi Territory, in what is today Alabama.  It was located on a bluff of the Mobile River, near modern Mount Vernon, close to the confluence of the Tombigbee and Alabama Rivers.  It served as the western terminus of the Federal Road which ran through Choctaw lands to Fort Wilkinson in Georgia.  The fort, built in 1799, was named for Benjamin Stoddert also attributed to Amos Stoddard married to Phoebe Reed, contemporaries of Daniel Reed his wife Rose Reed and his brothers Amos Reed and Squire Reed, the secretary to the Continental Board of War during the American Revolution and Secretary of the Navy during the Quasi War.  Fort Stoddert/Stoddard was built by the United States to keep the peace by preventing its own settlers in the Tombigbee District from attacking the Spanish in the Mobile District.

William Tecumseh Sherman: William Tecumseh Sherman (February 8, 1820 – February 14, 1891) was an American soldier, businessman, educator, and author.  He served as a general in the Union Army during the American Civil War (1861–65), for which he received recognition for his outstanding command of military strategy as well as criticism for the harshness of the "scorched earth" policies he implemented in conducting total war against the Confederate States.

Clere baronets: The Clere Baronetcy, of Ormesby in the County of Norfolk, was a title in the Baronetage of England.  It was created on 26 February 1621 for Sir Henry Clere.  His only son by his wife Muriel Mundefod died in infancy and the title became extinct on his early death in 1622.  He had one daughter Abigail, who married John Williams, otherwise Cromwell, second son of Sir Oliver Cromwell, and first cousin of the Lord Protector  Oliver Cromwell, by who she had two children Haing separated from her husband she became an actress, and the mistress of William Brouncker, 2nd Viscount Brouncker, as such she is known to readers of the Diary of Samuel Pepys as "Madam Williams".  Pepys strongly disapproved of the affair, but it endured until Lord Brouncker's death in 1684, and he left Abigail much of his property.

Raid on Lunenburg, Nova Scotia (1782): The Raid on Lunenburg (also known as the Sack of Lunenburg) occurred during the American Revolution when the US privateer, Captain Noah Stoddard of Fairhaven, Massachusetts, and four other privateer vessels attacked the British settlement at Lunenburg, Nova Scotia on 1 July 1782.  Lunenburg was defended by militia leaders Colonel John Creighton and Major Dettlieb Christopher Jessen.  In Nova Scotia, the assault on Lunenburg was the most spectacular raid of the war.  On the morning of 1 July Stoddard led approximately 170 US privateers in four heavily armed vessels and overpowered Lunenburg’s defence, capturing the blockhouses and burning the house of Jessen.  The privateers then looted the settlement and kept the militia at bay with the threat of destroying the entire town.  The American privateers plundered the town and took three prisoners, including Creighton, who were later released from Boston without a ransom having been paid.

John Williams (Continental Congress): John Williams (March 14, 1731 – October 10, 1799) was a signer of the United States' Articles of Confederation.  He was one of the founders of the University of North Carolina.  During the American Revolutionary War, Williams was a colonel in the North Carolina militia.  In 1777 and 1778, he was a member of the North Carolina House of Commons and served as Speaker of the House.  Williams was a member of the Continental Congress in 1778 and 1779.  He served as a superior court judge both during the colonial era and after the new state of North Carolina was established in 1776.  Sitting alongside other superior court judges as part of a Court of Conference (forerunner to the North Carolina Supreme Court), Williams heard the landmark case, "Bayard v. Singleton", which announced the principle of judicial review on the state level before "Marbury v. Madison" did so on the federal level.

John Williams Stoddard: John Williams Stoddard (1 October 1837 – 18 September 1917) was an American manufacturer of agricultural implements and automobile pioneer.  He was a cousin of General William Tecumseh Sherman.

John Williams (minister): John Williams (10 December 1664 – 12 June 1729) was a New England Puritan minister who became famous for "The Redeemed Captive", his account of his captivity by the Mohawk after the Deerfield Massacre during Queen Anne's War.  He was an uncle of the notable pastor and theologian Jonathan Edwards.  <br> His first wife Eunice Mather was a niece of Rev Increase Mather and a cousin of Rev. Cotton Mather and was related to Rev. John Cotton.

Gordon Johnston (soldier): Gordon Johnston (May 25, 1874 – March 8, 1934) was an American soldier, Medal of Honor recipient and football player and coach.  He played at the tackle position for Princeton University and served as the head coach of the University of North Carolina football team in 1896.  He served as an officer in the United States Army during the Spanish–American War, the Philippine–American War and World War I, and received the Medal of Honor for his actions during the Philippine–American War.

Supporting paragraphs: John Williams Stoddard William Tecumseh Sherman
Answer: He served as a general in the Union Army during the American Civil War