And so in 1582 Pope Gregory XIII commissioned another reform to correct the errors of the Julian Calendar, adding one extra leap year every four centuries.
The calendar was also reset: in 1582 Thursday 4th October was followed by... Friday 15th October!