He survived a primary challenge from Ted Kennedy for the Democratic Party nomination in the 1980 election , but lost the general election to Ronald Reagan , the Republican candidate .
He won a primary against Ted Kennedy for the Democratic Party nomination in the He lost the 1980 election to Ronald Reagan , the Republican candidate .