In 1980, Carter ran against Senator Ted Kennedy in the Democratic primaries, but he won re-nomination at the 1980 Democratic National Convention. Carter lost the general election to Republican nominee Ronald Reagan in an electoral landslide. Polls of historians and political scientists usually rank Carter as an average president; he often receives more positive numbers for his humanitarian work after leaving office.