Albani was regarded as a fine diplomat known for his skills as a peacemaker and so was unanimously elected pope on 23 November 1700. He agreed to the election after three days of consultation. Unusually, from the viewpoint of current practice, his election came within three months after his ordination as a priest and within two months after he celebrated his first Mass, though he had been a cardinal for ten years previously. Having accepted election after some hesitation, he was ordained a bishop on 30 November 1700 and assumed the pontifical name of "Clement XI". Cardinal protodeacon Benedetto Pamphili crowned him on 8 December 1700 and he took possession of the Basilica of Saint John Lateran on 10 April 1701. Actions Soon after his accession to the pontificate, the War of the Spanish Succession broke out. In 1703 Pope Clement XI ordered a synod of Catholic bishops in northern Albania that discussed promotion of the Council of Trent decrees within Albanian dioceses, stemming conversions among locals to Islam and securing agreement to deny communion to crypto-Catholics who outwardly professed the Muslim faith. Despite initially holding an ambiguous neutrality in world affairs, Clement XI was later forced to name Charles, Archduke of Austria, as the King of Spain, since the imperial army had conquered much of northern Italy and was threatening Rome itself in January 1709. By the Treaty of Utrecht that put an end to the war, the Papal States lost their suzerainty over the Farnese Duchy of Parma and Piacenza in favour of Austria, and lost Comacchio as well, a blow to the prestige of the Papal States. In 1713 Clement XI issued the bull Unigenitus in response to the spread of the Jansenist heresy. There followed great upheaval in France, where apart from theological issues, a strong Gallican tendency persisted. The bull, which was produced with the contribution of Gregorio Selleri, a lector at the College of Saint Thomas, the future Pontifical University of Saint Thomas Aquinas, Angelicum, condemned Jansenism by extracting and anathematizing as heretical 101 propositions from the works of Quesnel declaring them to be identical in substance with propositions already condemned in the writings of Jansenius. The resistance of many French ecclesiastics and the refusal of the French parlements to register the bull led to controversies extending through the greater part of the 18th century. Because the local governments did not officially receive the