Career
He also served as a Pennsylvania State Senator from 1820 until 1826. He later resided in Philadelphia until 1811, when he moved back to Chester. He fought at the Battle of Plattsburgh, and the Battle of Lyon Creek, and promoted from captain to major for meritorious service.
After the war ended he resumed his legal studies, and was admitted to the bar on May 1, 1816.
He began practicing law in West Chester. Barnard was the deputy attorney general for Chester County from 1817 to 1821, and an Assistant Burgess in the government of the borough of West Chester in 1821, 1824, and 1825.
Barnard was also a major-general of militia, and declined the judgeship of Chester County. He was elected to the United States Senate as a Jacksonian, and began his first term on March 4, 1827.
During the 21st and 22nd United States Congresses, he was the chairman of the Committee on Militia.
In 1829, Barnard was closely defeated in his attempt to gain the nomination for Governor of Pennsylvania. He undertook part of a second Senate term, but resigned from the Senate on December 6, 1831, due to ill health. He was replaced by a future Vice President of the United States, George M. Dallas.
Just before he resigned, the New York papers were reportedly demanding that Barnard be given a place in the United States Cabinet.
Barnard died on February 28, 1834, in West Chester, and was interred in Oakland"s Cemetery nearby. William Everhart, a wealthy merchant, named a street after Barnard, with whom he was a friend, which had been created after Everhart divided up a farm into lots sometime after the summer of 1830.