What day of the week was October 5, 1823?

The day of the week October 5th, 1823 fell on was a Sunday.