What day of the week was December 31, 1798?

The day of the week December 31st, 1798 fell on was a Monday.