Question: In what year did the Pope return from Avignon to the place where the first calendars were printed?

full_context: Document 1: Avignon Papacy: The Avignon Papacy was the period from 1309 to 1376 during which seven successive popes resided in Avignon (then in the Kingdom of Arles, part of the Holy Roman Empire, now in France) rather than in Rome. The situation arose from the conflict between the papacy and the French crown, culminating in the death of Pope Boniface VIII after his arrest and maltreatment by Philip IV of France. Following the further death of Pope Benedict XI, Philip forced a deadlocked conclave to elect the French Clement V as pope in 1305. Clement refused to move to Rome, and in 1309 he moved his court to the papal enclave at Avignon, where it remained for the next 67 years. This absence from Rome is sometimes referred to as the "Babylonian Captivity of the Papacy".
Document 2: History of calendars: The Gregorian calendar was introduced as a refinement of the Julian calendar in 1582, and is today in worldwide use as the de facto calendar for secular purposes.
Document 3: Gregorian calendar: The Gregorian calendar is the most widely used civil calendar in the world. It is named after Pope Gregory XIII, who introduced it in October 1582. The calendar spaces leap years to make the average year 365.2425 days long, approximating the 365.2422 day tropical year that is determined by the Earth's revolution around the Sun. The rule for leap years is as follows:
Document 4: Late Middle Ages: Avignon was the seat of the papacy from 1309 to 1376. With the return of the Pope to Rome in 1378, the Papal State developed into a major secular power, culminating in the morally corrupt papacy of Alexander VI. Florence grew to prominence amongst the Italian city-states through financial business, and the dominant Medici family became important promoters of the Renaissance through their patronage of the arts. Other city states in northern Italy also expanded their territories and consolidated their power, primarily Milan and Venice. The War of the Sicilian Vespers had by the early 14th century divided southern Italy into an Aragon Kingdom of Sicily and an Anjou Kingdom of Naples. In 1442, the two kingdoms were effectively united under Aragonese control.
Document 5: Avignon Papacy: Following the strife between Philip IV of France and Pope Boniface VIII and the death of his successor Benedict XI after eight months in office, a deadlocked conclave elected Clement V, a Frenchman, as Pope in 1305. Clement declined to move to Rome, remaining in France, and in 1309, he moved his court to the papal enclave at Avignon, where it remained for the next 67 years. The absence from Rome is sometimes referred to as the ``Babylonian Captivity of the Papacy ''. A total of seven popes reigned at Avignon; all were French, and they increasingly fell under the influence of the French Crown. On September 13, 1376, Gregory XI abandoned Avignon and moved his court to Rome (arriving on January 17, 1377), ending the Avignon Papacy.
Document 6: Gregorian calendar: The Gregorian reform contained two parts: a reform of the Julian calendar as used prior to Pope Gregory XIII's time and a reform of the lunar cycle used by the Church, with the Julian calendar, to calculate the date of Easter. The reform was a modification of a proposal made by Aloysius Lilius. His proposal included reducing the number of leap years in four centuries from 100 to 97, by making 3 out of 4 centurial years common instead of leap years. Lilius also produced an original and practical scheme for adjusting the epacts of the moon when calculating the annual date of Easter, solving a long-standing obstacle to calendar reform.
Document 7: Middle Ages: During the tumultuous 14th century, disputes within the leadership of the Church led to the Avignon Papacy of 1305–78, also called the "Babylonian Captivity of the Papacy" (a reference to the Babylonian captivity of the Jews), and then to the Great Schism, lasting from 1378 to 1418, when there were two and later three rival popes, each supported by several states. Ecclesiastical officials convened at the Council of Constance in 1414, and in the following year the council deposed one of the rival popes, leaving only two claimants. Further depositions followed, and in November 1417 the council elected Martin V (pope 1417–31) as pope.
Document 8: Gregorian calendar: The Council of Trent approved a plan in 1563 for correcting the calendrical errors, requiring that the date of the vernal equinox be restored to that which it held at the time of the First Council of Nicaea in 325 and that an alteration to the calendar be designed to prevent future drift. This would allow for a more consistent and accurate scheduling of the feast of Easter. In 1577, a Compendium was sent to expert mathematicians outside the reform commission for comments. Some of these experts, including Giambattista Benedetti and Giuseppe Moleto, believed Easter should be computed from the true motions of the sun and moon, rather than using a tabular method, but these recommendations were not adopted. The reform adopted was a modification of a proposal made by the Calabrian doctor Aloysius Lilius (or Lilio).
Document 9: Avignon Papacy: Beginning with Clement V, elected 1305, all popes during the Avignon papacy were French. However, this makes French influence seem greater than it was. Southern France at that time had a culture quite independent from Northern France, where most of the advisers to the King of France were based. The Kingdom of Arles was still independent at that time, formally a part of the Holy Roman Empire. The literature produced by the troubadours in the Languedoc is unique and strongly distinct from that of Royal circles in the north. Even in terms of religion, the South produced its own variety of Christianity, Catharism, which was ultimately declared heretical. The movement was fueled in no small part by the strong sense of independence in the South even though the region had been severely weakened during the Albigensian Crusade a hundred years before. By the time of the Avignon Papacy, the power of the French King in this region was uncontested, although still not legally binding.
Document 10: Gregorian calendar: The Gregorian calendar is internationally the most widely used civil calendar. It is named after Pope Gregory XIII, who introduced it in October 1582.
Document 11: Adoption of the Gregorian calendar: Through enactment of the Calendar (New Style) Act 1750, Great Britain and its colonies (including the eastern part of what is now the United States) adopted the Gregorian calendar in 1752, by which time it was necessary to correct by 11 days. Wednesday, 2 September 1752, was followed by Thursday, 14 September 1752. Claims that rioters demanded ``Give us our eleven days ''grew out of a misinterpretation of a painting by William Hogarth. In Great Britain, the term`` New Style'' was used for the calendar and the Act omits any acknowledgement of Pope Gregory: the Annexe to the Act established a computation for the date of Easter that achieved the same result as Gregory's rules, without actually referring to him.
Document 12: Gregorian calendar: The Gregorian calendar was a reform of the Julian calendar instituted in 1582 by Pope Gregory XIII, after whom the calendar was named, by papal bull Inter gravissimas dated 24 February 1582. The motivation for the adjustment was to bring the date for the celebration of Easter to the time of year in which it was celebrated when it was introduced by the early Church. Although a recommendation of the First Council of Nicaea in 325 specified that all Christians should celebrate Easter on the same day, it took almost five centuries before virtually all Christians achieved that objective by adopting the rules of the Church of Alexandria (see Easter for the issues which arose).
Document 13: Avignon Papacy: Clement V declined to move to Rome, remaining in France, and in 1309, he moved his court to the papal enclave at Avignon, where it remained for the next 67 years. The absence from Rome is sometimes referred to as the ``Babylonian Captivity of the Papacy ''. A total of seven popes reigned at Avignon; all were French, and they increasingly fell under the influence of the French Crown. On September 13, 1376, Gregory XI abandoned Avignon and moved his court to Rome (arriving on January 17, 1377), ending the Avignon Papacy.
Document 14: Gregorian calendar: A month after having decreed the reform, the pope with a brief of 3 April 1582 granted to Antonio Lilio, the brother of Luigi Lilio, the exclusive right to publish the calendar for a period of ten years. The Lunario Novo secondo la nuova riforma printed by Vincenzo Accolti, one of the first calendars printed in Rome after the reform, notes at the bottom that it was signed with papal authorization and by Lilio (Con licentia delli Superiori... et permissu Ant(onii) Lilij). The papal brief was later revoked, on 20 September 1582, because Antonio Lilio proved unable to keep up with the demand for copies.
Document 15: Late Middle Ages: The French crown's increasing dominance over the Papacy culminated in the transference of the Holy See to Avignon in 1309. When the Pope returned to Rome in 1377, this led to the election of different popes in Avignon and Rome, resulting in the Papal Schism (1378–1417). The Schism divided Europe along political lines; while France, her ally Scotland and the Spanish kingdoms supported the Avignon Papacy, France's enemy England stood behind the Pope in Rome, together with Portugal, Scandinavia and most of the German princes.
ground_truth: 1377
sub_queries: Where were the first calendars printed? Answer: Rome
In what year did the Pope return to Rome from Avignon? Answer: 1377