Maximilian's death in 1519 brought the Imperial election to the forefront of European politics. Pope Leo X, threatened by the presence of Spanish troops a mere forty miles from the Vatican, supported the French candidacy. The prince-electors themselves, with the exception of Frederick of Saxony, who refused to countenance the campaigning, promised their support to both candidates at once. Before his death, Maximilian had already promised sums of 500,000 florins to the Electors in exchange for their votes, but Francis offered up to three million, and Charles retaliated by borrowing vast sums from the Fuggers. The final outcome, however, was not determined by the exorbitant bribes, which included Leo promising to make the Archbishop of Mainz his permanent legate. The general outrage of the populace at the idea of a French Emperor gave the Electors pause, and when Charles put an army in the field near Frankfurt, where they were meeting, the Electors obligingly voted for him. He was crowned Holy Roman Emperor on 23 October 1520, by which point he already controlled both the Spanish crown and the hereditary Burgundian lands in the Low Countries. Cardinal Wolsey, hoping to increase Henry VIII's influence on the continent, offered the services of England as a mediator for the various disputes between Francis and Charles. Henry and Francis staged an extravagant meeting at the Field of the Cloth of Gold. Immediately afterwards, Wolsey entertained Charles in Calais. Following the meetings, Wolsey, concerned mainly with improving his own stature in preparation for the next papal conclave, proceeded to stage a hollow arbitration conference at Calais, which lasted until April 1522 to no practical effect.
Question: What happened first, the death of Maximilian, or the crowning of Charles as Holy Roman Emperor?
Answer: death of Maximilian