President john adams, representing the federalist party, and his vice president, thomas jefferson, representing the democratic-republican party, fought bitterly in an election that came to be called.