AD 1582
Pope Gregory XIII introduced the Gregorian calendar, replacing the Julian calendar. The new calendar corrected the drift in the equinoxes and established the modern system of leap years.