What day of the week was July 5, 1840?

The day of the week July 5th, 1840 fell on was a Sunday.