Answer
The Gregorian calendar was introduced to correct date inaccuracies that had accumulated over centuries due to the Julian calendar's imprecise calculation of the solar year. The Julian calendar added an extra day to the calendar every four years, but this was slightly too often, resulting in a gradual drift from the actual solar year.