Question: In what year did the Pope return from Avignon to the city where the author of Inter Caetera lived until his death?

full_context: Document 1: Late Middle Ages: The 1469 marriage of Isabella I of Castile and Ferdinand II of Aragon and the 1479 death of John II of Aragon led to the creation of modern-day Spain. In 1492, Granada was captured from the Moors, thereby completing the Reconquista. Portugal had during the 15th century – particularly under Henry the Navigator – gradually explored the coast of Africa, and in 1498, Vasco da Gama found the sea route to India. The Spanish monarchs met the Portuguese challenge by financing the expedition of Christopher Columbus to find a western sea route to India, leading to the discovery of the Americas in 1492.
Document 2: 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.
Document 3: 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 4: Napoleon: Two days after the marriage, Bonaparte left Paris to take command of the Army of Italy. He immediately went on the offensive, hoping to defeat the forces of Piedmont before their Austrian allies could intervene. In a series of rapid victories during the Montenotte Campaign, he knocked Piedmont out of the war in two weeks. The French then focused on the Austrians for the remainder of the war, the highlight of which became the protracted struggle for Mantua. The Austrians launched a series of offensives against the French to break the siege, but Napoleon defeated every relief effort, scoring notable victories at the battles of Castiglione, Bassano, Arcole, and Rivoli. The decisive French triumph at Rivoli in January 1797 led to the collapse of the Austrian position in Italy. At Rivoli, the Austrians lost up to 14,000 men while the French lost about 5,000.
Document 5: Cum nimis absurdum: Cum nimis absurdum was a papal bull issued by Pope Paul IV dated 14 July 1555. It takes its name from its first words: "Since it is absurd and utterly inconvenient that the Jews, who through their own fault were condemned by God to eternal slavery..."
Document 6: Age of Discovery: Portugal's neighbouring fellow Iberian rival, Castile, had begun to establish its rule over the Canary Islands, located off the west African coast, in 1402, but then became distracted by internal Iberian politics and the repelling of Islamic invasion attempts and raids through most of the 15th century. Only late in the century, following the unification of the crowns of Castile and Aragon and the completion of the reconquista, did an emerging modern Spain become fully committed to the search for new trade routes overseas. The Crown of Aragon had been an important maritime potentate in the Mediterranean, controlling territories in eastern Spain, southwestern France, major islands like Sicily, Malta, and the Kingdom of Naples and Sardinia, with mainland possessions as far as Greece. In 1492 the joint rulers conquered the Moorish kingdom of Granada, which had been providing Castile with African goods through tribute, and decided to fund Christopher Columbus's expedition in the hope of bypassing Portugal's monopoly on west African sea routes, to reach ``the Indies ''(east and south Asia) by travelling west. Twice before, in 1485 and 1488, Columbus had presented the project to king John II of Portugal, who rejected it.
Document 7: 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 8: Napoleon: Unhappy with this change of policy by the Portuguese government, Napoleon sent an army to invade Portugal. On 17 October 1807, 24,000 French troops under General Junot crossed the Pyrenees with Spanish cooperation and headed towards Portugal to enforce Napoleon's orders. This attack was the first step in what would eventually become the Peninsular War, a six-year struggle that significantly sapped French strength. Throughout the winter of 1808, French agents became increasingly involved in Spanish internal affairs, attempting to incite discord between members of the Spanish royal family. On 16 February 1808, secret French machinations finally materialized when Napoleon announced that he would intervene to mediate between the rival political factions in the country. Marshal Murat led 120,000 troops into Spain and the French arrived in Madrid on 24 March, where wild riots against the occupation erupted just a few weeks later. Napoleon appointed his brother, Joseph Bonaparte, as the new King of Spain in the summer of 1808. The appointment enraged a heavily religious and conservative Spanish population. Resistance to French aggression soon spread throughout the country. The shocking French defeat at the Battle of Bailén in July gave hope to Napoleon's enemies and partly persuaded the French emperor to intervene in person.
Document 9: 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 10: Palermo: After the Treaty of Utrecht (1713), Sicily was handed over to the Savoia, but by 1734 it was again a Bourbon possession. Charles III chose Palermo for his coronation as King of Sicily. Charles had new houses built for the growing population, while trade and industry grew as well. However, by now Palermo was now just another provincial city as the Royal Court resided in Naples. Charles' son Ferdinand, though disliked by the population, took refuge in Palermo after the French Revolution in 1798. His son Alberto died on the way to Palermo and is buried in the city. When the Kingdom of the Two Sicilies was founded, the original capital city was Palermo (1816) but a year later moved to Naples.
Document 11: Pope Alexander VI: On 25 January 1494, Ferdinand I died and was succeeded by his son Alfonso II (1494–1495). Charles VIII of France now advanced formal claims on the Kingdom of Naples. Alexander authorised him to pass through Rome, ostensibly on a crusade against the Ottoman Empire, without mentioning Naples. But when the French invasion became a reality Pope Alexander VI became alarmed, recognised Alfonso II as king of Naples, and concluded an alliance with him in exchange for various fiefs for his sons (July 1494). A military response to the French threat was set in motion: a Neapolitan army was to advance through the Romagna and attack Milan, while the fleet was to seize Genoa. Both expeditions were badly conducted and failed, and on 8 September Charles VIII crossed the Alps and joined Ludovico il Moro at Milan. The Papal States were in turmoil, and the powerful Colonna faction seized Ostia in the name of France. Charles VIII rapidly advanced southward, and after a short stay in Florence, set out for Rome (November 1494).
Document 12: Crown of Aragon: Crown of Aragon Corona d'Aragón (Aragonese) Corona d'Aragó (Catalan) Corona Aragonum (Latin) Corona de Aragón (Spanish) Aragoiko koroa (Basque) Composite monarchy, confederation of kingdoms, or individual polities ruled by one king 1162 -- 1716 Standard Coat of arms Territories subject to the Crown of Aragon in 1441 Capital see Capital below Languages Official languages: Aragonese, Catalan, Latin Minority languages: Occitan, Sardinian, Corsican, Neapolitan, Sicilian, Castilian, Basque, Greek, Maltese, Andalusian Arabic, Mozarabic Religion Majority religion: Roman Catholic Minority religions: Sunni Islam, Sephardic Judaism, Greek Orthodoxy Government Feudal monarchy subject to pacts Monarch 1162 -- 1164 Petronilla (first) 1479 - 1504 1479 -- 1516 Isabella I and Ferdinand II 1700 -- 1716 Charles III (last) Legislature Cortz d'Aragón Corts Catalanes Corts Valencianes Historical era Middle Ages / Early modern period Union of the Kingdom of Aragon and the County of Barcelona 1162 Conquest of the Kingdom of Majorca 1231 Conquest of the Kingdom of Valencia 1238 -- 1245 Conquest of the Kingdom of Sardinia 1324 -- 1420 Union of Ferdinand II and Isabella I 19 October 1469 Conquest of the Kingdom of Naples 1501 -- 1504 Nueva Planta decrees 1716 Area 1443 250,000 km (97,000 sq mi) Preceded by Succeeded by Kingdom of Aragon County of Barcelona Habsburg Spain Today part of Andorra France Greece Italy Malta Spain Tunisia
Document 13: Franceschetto Cybo: Despite his exceeding passion for card playing, he received from his father important positions in the Papal States: governor of Rome (1488), the fiefs of Cerveteri and Anguillara (1490) and the title of Count of the Lateran Palace. In 1490 he attempted to steal the Papal treasure.
Document 14: Dudum siquidem: Dudum siquidem (Latin for "A short while ago") is a papal bull issued by Pope Alexander VI on , one of the Bulls of Donation addressed to the Catholic Monarchs Isabella I of Castile and Ferdinand II of Aragon which supplemented the bull "Inter caetera" and purported to grant to them "all islands and mainlands whatsoever, found and to be found, discovered and to be discovered, that are or may be or may seem to be in the route of navigation or travel towards the west or south, whether they be in western parts, or in the regions of the south and east and of India".
Document 15: 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.
ground_truth: 1377
sub_queries: Inter caetera >> author Answer: Alexander VI
What city did Pope Alexander VI live when he died? Answer: Rome
In what year did the Pope return to Rome from Avignon? Answer: 1377