Although Simon de Montfort's first siege of Toulouse in 1211 was unsuccessful, two years later he defeated the city's army. With many hostages, he entered the city in 1216 and appointed himself as count. De Montfort was killed by a stone at the Siege of Toulouse in 1218. Until the final siege, the "whites" were opposed by the city's populace and Louis VII relented in 1219. Raymond VI, recognizing his support from the population (which helped him preserve his interests), gave his last prerogatives to the Capitouls.