Spain had invested itself in the religious warfare in France after Henry II's death. In 1589, Henry III, the last of the Valois lineage, died at the walls of Paris. His successor, Henry IV of France, the first Bourbon king of France, was a man of great ability, winning key victories against the Catholic League at Arques (1589) and Ivry (1590). Committed to stopping Henry from becoming King of France, the Spanish divided their army in the Netherlands and invaded France in 1590.