Since 1824, who is the only person to win the US Presidential election despite not having received the most popular and electoral college votes?

History Trivia: Since 1824, who is the only person to win the US Presidential election despite not having received the most popular and electoral college votes?