The defeat and capture of king Francis I of France during the battle ushered in a period of Spanish occupation which lasted until 1713 . The defeat and capture of king Francis I of France during the battle ushered in a period of Spanish occupation which lasted until 1713 at the conclusion of the War of the Spanish Succession .