 Under Henry IV, and under the regency of his son Louis XIII, the city enjoyed a certain freedom and prosperity.However, La Rochelle entered into conflict with the authority of the adult Louis, beginning with a 1622 revolt.A fleet from La Rochelle fought a royal fleet of 35 ships under Charles, Duke of Guise, in front of Saint-Martin-de-Ré, but was defeated on 27 October 1622, leading to the signing of the Peace of Montpellier.