1842 United States elections
Elections occurred in the middle of President John Tyler's term, during the Second Party System. Tyler had become president on April 4, 1841, upon the death of his predecessor, William Henry Harrison.
Source: Wikipedia — 1842 United States elections (CC BY-SA 4.0)