What day of the week was January 5, 1817?

The day of the week January 5th, 1817 fell on was a Sunday.