Question: What was the function of the Pantheon in the birthplace of the father of John XI?

full_context: Document 1: Théoden: The appendices of "The Return of the King" explain that Théoden was the only son of King Thengel and Morwen of Lossarnach (a region of Gondor). He was the second-born of five children, and the only boy. Théoden was closest to his youngest sister, Théodwyn. He was born in Gondor, where his family lived until Thengel became king of Rohan. Théoden became king after the death of his father. Théodwyn lived with him in Edoras. He married Elfhild, but she died giving birth to their son, Théodred. After Théodwyn and her husband, Éomund, also died, he adopted their children, Éomer and Éowyn.
Document 2: Pantheon, Rome: The Pantheon (/ ˈpænθiən / or US: / ˈpænθiɒn /; Latin: Pantheum, from Greek Πάνθειον Pantheion, ``(temple) of all the gods '') is a former Roman temple, now a church, in Rome, Italy, on the site of an earlier temple commissioned by Marcus Agrippa during the reign of Augustus (27 BC -- 14 AD). The present building was completed by the emperor Hadrian and probably dedicated about 126 AD. He retained Agrippa's original inscription, which has caused confusion over its date of construction as the original Pantheon burned down, so it is not certain when the present one was built.
Document 3: Marozia: Edward Gibbon wrote of her that the "influence of two sister prostitutes, Marozia and Theodora was founded on their wealth and beauty, their political and amorous intrigues: the most strenuous of their lovers were rewarded with the Roman tiara, and their reign may have suggested to darker ages the fable of a female pope. The bastard son, two grandsons, two great grandsons, and one great great grandson of Marozia—a rare genealogy—were seated in the Chair of St. Peter." Pope John XIII was her nephew, the offspring of her younger sister Theodora. From this description, the term "pornocracy" has become associated with the effective rule in Rome of Theodora and her daughter Marozia through male surrogates.
Document 4: Pantheon, Rome: It is one of the best - preserved of all Ancient Roman buildings, in large part because it has been in continuous use throughout its history, and since the 7th century, the Pantheon has been used as a church dedicated to ``St. Mary and the Martyrs ''(Latin: Santa Maria ad Martyres) but informally known as`` Santa Maria Rotonda''. The square in front of the Pantheon is called Piazza della Rotonda. The Pantheon is a state property, ruled by Italy's Ministry of Cultural Heritage and Activities and Tourism through the Polo Museale del Lazio; in 2013 it was visited by over 6 million people.
Document 5: Alberic III, Count of Tusculum: Alberic III (died 1044) was the Count of Tusculum, along with Galeria, Preneste, and Arce, from 1024, when his brother the count Roman was elected Pope John XIX, until his own death. He was a son of Gregory I and Maria, brother of Popes Benedict VIII and John XIX, and brother-in-law of Thrasimund III of Spoleto.
Document 6: Immaculate Conception: Further claims were made that the Roman Catholic Church derives its doctrine from the Islamic teaching. In volume 5 of his Decline and Fall of the Roman Empire, published in 1788, Edward Gibbon wrote: "The Latin Church has not disdained to borrow from the Koran the immaculate conception of his virgin mother." That he was speaking of her immaculate conception by her mother, not of her own virginal conception of Jesus, is shown by his footnote: "In the xiith century the immaculate conception was condemned by St. Bernard as a presumptuous novelty." In the aftermath of the definition of the dogma in 1854, this charge was repeated: "Strange as it may appear, that the doctrine which the church of Rome has promulgated, with so much pomp and ceremony, 'for the destruction of all heresies, and the confirmation of the faith of her adherents', should have its origin in the Mohametan Bible; yet the testimony of such authorities as Gibbon, and Sale, and Forster, and Gagnier, and Maracci, leave no doubt as to the marvellous fact."
Document 7: Theodoric I: Theodoric was also an enemy of the Suevic king Rechila in Iberia, because Visigoth troops assisted the imperial commander Vitus in his campaign against the Suevi in 446. But the ability of this people to conduct a strong defence and the better relations between Geiseric and the Roman Empire led Theodoric to change his foreign policy. He therefore, in February 449, married one of his daughters to the new Suevic king Rechiar, who visited his father-in-law at Tolosa in July 449. On his return – according to the author Isidore of Seville - Rechiar, with the assistance of Visigoth troops, devastated the area surrounding the city of Caesaraugusta and managed by guile to take Ilerda.
Document 8: Crescentius the Younger: Crescentius the Younger (or Crescentius II) (died 998), son of Crescentius the Elder, was a leader of the aristocracy of medieval Rome. During the minority of Holy Roman Emperor Otto III, he declared himself Consul (or Senator) of Rome ("Patricius Romanorum") and made himself "de facto" ruler of Rome. After being deposed, he led a rebellion, seized control of Rome, and appointed an antipope, but the rebellion failed and Crescentius was eventually executed.
Document 9: Lucrezia Borgia: Lucrezia Borgia (; ; 18 April 1480 – 24 June 1519) was a Spanish-Italian noblewoman of the House of Borgia who was the daughter of Pope Alexander VI and Vannozza dei Cattanei. She reigned as the Governor of Spoleto, a position usually held by cardinals, in her own right.
Document 10: Parthenon: The Parthenon (/ ˈpɑːrθəˌnɒn, - nən /; Ancient Greek: Παρθενών; Greek: Παρθενώνας, Parthenónas) is a former temple, on the Athenian Acropolis, Greece, dedicated to the goddess Athena, whom the people of Athens considered their patron. Construction began in 447 BC when the Athenian Empire was at the peak of its power. It was completed in 438 BC although decoration of the building continued until 432 BC. It is the most important surviving building of Classical Greece, generally considered the zenith of the Doric order. Its decorative sculptures are considered some of the high points of Greek art. The Parthenon is regarded as an enduring symbol of Ancient Greece, Athenian democracy and Western civilization, and one of the world's greatest cultural monuments. To the Athenians who built it, the Parthenon and other Periclean monuments of the Acropolis, were seen fundamentally as a celebration of Hellenic victory over the Persian invaders and as a thanksgiving to the gods for that victory. The Greek Ministry of Culture is currently carrying out a programme of selective restoration and reconstruction to ensure the stability of the partially ruined structure.
Document 11: Despina Khatun: Theodora Megale Komnene (), also known as Despina Khatun (; from the Greek title "Despoina" and Mongol title "Khatun", both meaning "Lady, princess, queen"), was the daughter of John IV of Trebizond, who married the Aq Qoyunlu ruler Uzun Hasan in 1458. She became the mother of Martha (Halima) who became the mother of first Safavid king, Shah Ismail I.
Document 12: Theodora (senatrix): She was the mother of Marozia, alleged concubine to Pope Sergius III, and the mother of Pope John XI, fathered by—according to Liutprand of Cremona and the "Liber Pontificalis"— Sergius. A third contemporary source, however—the annalist Flodoard (c. 894–966)—says John XI was the brother of Count Alberic II of Spoleto, the latter being the offspring of Marozia and her husband Count Alberic I of Spoleto. Hence John too was probably the son of Marozia and Alberic I.
Document 13: Madrasa: From around 750, during the Abbasid Caliphate, women “became renowned for their brains as well as their beauty”. In particular, many well known women of the time were trained from childhood in music, dancing and poetry. Mahbuba was one of these. Another feminine figure to be remembered for her achievements was Tawaddud, "a slave girl who was said to have been bought at great cost by Hārūn al-Rashīd because she had passed her examinations by the most eminent scholars in astronomy, medicine, law, philosophy, music, history, Arabic grammar, literature, theology and chess". Moreover, among the most prominent feminine figures was Shuhda who was known as "the Scholar" or "the Pride of Women" during the 12th century in Baghdad. Despite the recognition of women's aptitudes during the Abbasid dynasty, all these came to an end in Iraq with the sack of Baghdad in 1258.
Document 14: Parthenon: The Parthenon itself replaced an older temple of Athena, which historians call the Pre-Parthenon or Older Parthenon, that was destroyed in the Persian invasion of 480 BC. The temple is archaeoastronomically aligned to the Hyades. Like most Greek temples, the Parthenon served a practical purpose as the city treasury. For a time, it served as the treasury of the Delian League, which later became the Athenian Empire. In the final decade of the sixth century AD, the Parthenon was converted into a Christian church dedicated to the Virgin Mary.
Document 15: Santa Caterina dei Funari: The church is located where the Castro Aureo of the Circus Flaminius was located, built by Gaius Flaminius in 221 B.C. Prior to the 13th century, the seats of the surrounding semi-ruined amphitheater were used to dry the wares produced by the string- and rope-makers ("funari"), hence, the name of the church. Originally a small church dedicated to Santa Rosa di Viterbo was adjacent. The original church was a three-naved basilica, called "Santa Maria de Donna Rosa in Castro Aureo", named for the first time in 1192 in a document of Pope Celestine III. It was rebuilt in the 9th century with a single nave and dedicated to St Catherine of Alexandria and later also called Santa Caterina dei Funari.
ground_truth: temple, now a church
sub_queries: John XI >> father Answer: Sergius III
Sergius III >> place of birth Answer: Rome
what was the pantheon in Rome used for Answer: temple, now a church