Seeking one of the country's most important municipal seats, Douste-Blazy narrowly won the election for Mayor of Toulouse in 2001, which saw the left making its best showing in decades. Once in office, he had to deal with a reinvigorated political opposition, as well as with the dramatic explosion of the AZF plant in late 2001.