What day of the week was August 5, 1866?

The day of the week August 5th, 1866 fell on was a Sunday.