sentences:  Barnard began practice in Rochester, New York, and served as prosecuting attorney of Monroe County in 1826.Elected as an Adams to the Twentieth Congress, Barnard served as U.S. Representative for the twenty-seventh district of New York from March 4, 1827, to March 3, 1829.He was an unsuccessful candidate for reelection in 1828 to the Twenty-first Congress.