 He graduated from Harvard University in 1789, studied law and was admitted to the bar in 1792.Upham practiced law in Claremont, New Hampshire and served as solicitor for Cheshire County from December 15, 1796 to 1804.Elected as a Federalist to the Seventh United States Congress and served as United States Representative for the state of New Hampshire from March 4, 1801, to March 3, 1803.