In September, Charles V closed the Diet of Worms in order to lead, for the first time in his life, a military campaign, commanding the Imperials against the invading forces of Francis I in the Low Countries. He successfully defended Flanders and won a battle at Tournai, while the Papal-Imperial army led by Prospero Colonna drove the French out of Milan, installed Francesco II Sforza to the Ducal throne, and restored the provinces of Parma and Piacenza to the Papal States. Those successes were confirmed with the Battle of Bicocca a year later. Pope Leo X died in his Roman villa following a banquet held to celebrate the French defeat. He was replaced by Adrian of Utrecht, Charles's Flemish tutor and his regent in Spain, who went to Rome to be crowned as Pope Adrian VI. In 1522, Charles V decided to leave the Low Countries and sail for Spain, now without a regent and where revolts throughout the country continued along with the war in Navarre. He confirmed Margaret of Austria as governor of the Low Countries, naming her president of the Burgundian Great Council and establishing a local inquisition to assist her in the research and destruction of Luther's books. For the regency and governorship of the Austrian lands, Charles secretly invested his brother Ferdinand with those territories: by the pacts of Worms (21 April 1521) and Brussels (7 February 1522), Ferdinand was appointed Archduke of Austria in the name of Charles V. By the same treaties, Charles promised to support Ferdinand's candidacy as the designated successor in the Empire and to pass him hereditary rights over Austria at the Imperial succession.