John Foster was born in Warner, New Hampshire in 1852. He graduated from Dartmouth College in 1876. In 1878, Foster was admitted o the New Hampshire Bar and opened a law practice in Manchester, NH. In 1879, he was elected to the state legislature where he served one term. In 1866, Foster's health began to fail and in 1890, he retired from his law practice. He died in 1914.