Everyone shifted to the Gregorian calendar because it is more accurate than Julian calendar.
A normal Julian year is 365.25 days and its an error of 11 minutes when compared to the solar year. It takes the earth 365.2422 days to complete one solar orbit This error in the Julian calendar cause an extra day every 128 years of the Julian calendar.
Gregorian calendar corrects this error by removing 1 day in years that are divisible by 100 but not divisible by 400. Example 1700, 1800, 1900 and 2100 are not leap years.