planned that the council would meet under his auspices and in his territory. He would also bring to Rome all of the enemies of Frederick Hohenstaufen. It was at this point in 1240 that Teobaldo also became a Canon of the Cathedral of Lyons, at the request of the Canons made to Cardinal Giacomo de Pecorari when a vacancy in their number occurred. Pope Gregory's ecumenical council never took place, and he died on 22 August 1241. The search for a successor to Gregory IX took more than two months. The new Pope, Celestine IV, who was old and ill, survived his election by only 17 days, dying on 10 November 1241. The second electoral assembly of 1241 did not take place for some time, however. The cardinals who were in Rome at the pope's death, having endured considerable mistreatment during the Vacancy of 22 August 1241 to 25 October 1241, which they did not want to endure again, scattered immediately. Only a half-dozen of the 12 cardinals remained in the city. It was not until June 1243 that all the Cardinals, assembled at Anagni and not in Rome, elected Cardinal Sinibaldo Fieschi of Genoa as Pope Innocent IV. In 1243, when the Bishop of Piacenza died, Innocent IV offered the position to Archdeacon Teobaldo, who declined, preferring to follow in the company of Cardinal Giacomo. Cardinal Giacomo, however, died in Rome on 25 June 1244. France Upon the death of his patron and spiritual model, Teobaldo decided not to remain any longer in the Curia, planning to travel to Paris, where he would study theology. When he reached Lyons, however, he was received by the Archbishop-elect, Philippe, and asked him to be the dominus and magister of the household. Teobaldo initially refused, but the Archbishop insisted and finally Teobaldo accepted the position. In July 1244, Pope Innocent IV was forced by Frederick II Augustus to flee from Rome. He first travelled to his native Genoa, and then headed to Lyons, where the idea of an ecumenical council took shape. Teobaldo helped to organize the Ecumenical Council which met at Lyons in June and July 1245. During this period, Visconti became acquainted with people such as Bonaventure, Thomas Aquinas, Gui Foucois, Pierre de Tarentaise and Matteo Rubeo Orsini, all of whom were participants in the Council. Visconti was appointed Archdeacon of Heinault in the diocese of Liège on 9 September