A papal conclave, which had been deadlocked due to concerns over how a successor would respond to the impending death of Charles II of Spain, ended with the election of Clement XI.
1700 conclave
The 1700 papal conclave was convened following the death of Pope Innocent XII. It ended in the election of Cardinal Giovanni Albani as Pope Clement XI. The conclave saw a rise in the dominance of the zelanti faction College of Cardinals. It remained deadlocked for a month until the death of the childless Charles II of Spain. The cardinal electors anticipated that his death without a clear heir would cause a political crisis, and moved to elect a pope that was seen as non-partisan.
Charles II of Spain
Charles II was King of Spain from 1665 to 1700. The last monarch from the House of Habsburg that had ruled Spain since 1516, his death without an heir resulted in the 1701 to 1714 War of the Spanish Succession.
Pope Clement XI
Pope Clement XI, born Giovanni Francesco Albani, was head of the Catholic Church and ruler of the Papal States from 23 November 1700 to his death in March 1721.