Aspecial election was held August 26, 1817 inMassachusetts's 1st congressional district to fill a vacancy left by the resignation of Representative-electJames Lloyd (F) before the beginning of the 15th Congress.
Mason was seated December 2, 1816.[1]
| Candidate | Party | Votes[2] | Percent |
|---|---|---|---|
| Jonathan Mason | Federalist | 1,746 | 55.6% |
| Andrew Ritchie | Federalist | 1,393 | 44.4% |