Has there ever been a president who was unmarried at the time of his election?

by poopaloopydoop
TheLovelyArcher

Grover Cleveland was not married when he was elected, but got married during his first term. James Buchanan was never married.