Who was the 20th President?

Rutherford B. Hayes was the 19th President of the United States. He one by one electoral vote but lost the popular vote against Samuel Tilden.