In 1590 Henry defeated Mayenne, Bourbon's general, at Ivry, and after three years of fighting he came to the conclusion that Paris was well worth a mass ("Paris vaut bien une messe"), and therefore formally recanted his Protestantism before the States-General, who at the same time declared the Spanish pretensions invalid. Paris admitted him within its gates next year, and from this time Henry was virtually king, although the war went on till the Peace of Vervins in 1598. In that year was issued the Edict of Nantes, giving freedom of worship to the Huguenots. During the reign of Henry IV. the work of organising the kingdom begun by
Louis XI. was again taken up. Great financial reforms were carried out by the Duc de Sully (q.v.), to whom Henry in great measure owed his position, and by the making of roads and canals the different provinces were brought more closely together, and France began to become one united well-administered kingdom. Henry had just married a second time, and was contemplating a fresh war with Spain, when, on May 14, 1610, he was assassinated by Ravaillac, who had been instigated by the Jesuits. Henry IV. was, with the possible exception of Louis IX., the greatest of the French kings. The necessities of his position made him, like Frederick the Great, a Protestant hero, but he was in no sense attached to religious principles, and, in spite of many fine qualities, was, in his private life, as licentious as most Frenchmen of the time.