James Wilson Barnett was born on May 27, 1839, in Derry, Pennsylvania, to John Barnett and Nancy Morrison. His father was a farmer who owned $3,500 of real estate and $500 of personal property by 1860. Barnett grew up and attended school in Derry, and the 1860 census listed him as a “student of divinity.”
He enlisted in the Union army on September 15, 1861, and mustered in as a commissary sergeant in the 53rd Pennsylvania Infantry on November 5. As he explained in June 1862, he enlisted “not because I thought I would love a soldier’s life, but because I felt it to be my duty and that thought or rather feeling seemed to impel my enlistment.” That same year, he declared that he “would not, for all the joys earth can afford, go home until I have done something for my country, or until my humble services are no longer required in the army…When this infamous rebellion is crushed then—lookout—we will be home and not till then.”
The regiment took part in the Seven Days Battles, the Battle of Antietam, the Battle of Fredericksburg, the Battle of Chancellorsville, and the Battle of Gettysburg. In September 1862, after surviving Antietam, he hoped that “this fall will see the war ended. I have seen enough to satisfy me. Oh! the horrors of this battle field. They cannot be imagined.” On November 15, 1863, he was promoted to 1st lieutenant and transferred to the 10th USCT Infantry. The regiment took part in the siege of Petersburg, and the army transferred it to Texas in June 1865. Barnett mustered out a year later, on May 17, 1866.
Barnett returned to his parents’ household in Derry after the war and began work as a dry goods merchant. By 1870, he owned $1,000 of real estate and $2,000 of personal property. He married Sophronia Gore around 1870, and they had at least five children: John, born around 1871; Ellen, born around 1874; Nancy, born around 1875; Mary, born around 1878; and Ralph, born around 1880.
The family lived in Derry, and Barnett worked as a “retail dealer [of] general merchandise.” Their son John suffered from “tuberculosis of [the] hip joint” and died around 1891. By 1900, Barnett was working as a railroad agent in Derry, and he became the local postmaster sometime in the early 1900s. His wife died on April 18, 1922, and he died of a cerebral hemorrhage in Derry on September 28, 1929.