The inhabitants of Montpellier, however, refused to open their gate to royal troops, fearing depredation by Henri, Prince of Condé and demanded humiliating conditions if the King wished to enter the city.
[3] Outraged, Louis XIII revoked Lesdiguières' command, and ordered his troops to set up a siege of the city.
[3] Also on 2 September, 400 Huguenots under Galonges, the Commander of the Montpellier garrison, made a sortie and defeated 1000 royal troops.
[3] The inhabitants agreed to make amends, and the King granted his pardon, leading to the signature of the Treaty of Montpellier on 19 October, in which the King fully confirmed the observation of the Edict of Nantes, but the Huguenots agreed to the dismantlement of the fortifications of Montpellier, Nîmes, and Uzès.
[5] Royal troops entered the city, effectively occupied it, and started to dismantle its fortifications.