 Ellis was a member of the New Hampshire House of Representatives in 1803.Elected as a Federalist to the Ninth Congress, Ellis was United States Representative for the state of New Hampshire from March 4, 1805 to March 3, 1807.After service in Congress, he was member of the New Hampshire Governor’s council in 1809 and 1810.