What day of the week was October 4, 1840?

The day of the week October 4th, 1840 fell on was a Sunday.