adams's administration made the federalists unpopular, owing to the alien and sedition laws, and jefferson was elected the successor of adams, burr running as vice-president with him. the election was so close that it went to the house, however.