 On December 19, 1889, he was appointed postmaster of Albany by President Benjamin Harrison's administration.Warner died March 16, 1897, in New York City, and his remains were returned to Middlebury, Vermont, for interment.James Warner married Matilda Elizabeth Allen, daughter of George Allen and Sophia Sargent, in early June 1863, while he was stationed in the northern defenses of Washington.