What day of the week was August 5, 1582?

The day of the week August 5th, 1582 fell on was a Thursday.