What day of the week was July 4, 1866?

The day of the week July 4th, 1866 fell on was a Wednesday.