Defending a border. Piedmont and Lombardy cities in the first half of the Seventeenh Century