The Gregorian calendar is the official solar calendar adopted by almost every country in the world. It was introduced by Pope Gregory XIII in 1582 as a correction to the previous Julian calendar (from Roman times) to realign the astronomical solstices and equinoxes with the calendar.