The city was strongly fortified, and, in the course of the Italian Wars, it was allied with France. It was besieged two times by the Papal troops under Julius II (1511), who personally attacked its walls, and Julius III (1551–1552). In the second occasion, the fortress resisted successfully under the command of Ludovico Pico and Piero Strozzi. In 1597, after returning under the imperial umbrella, Mirandola obtained the title of city and the Picos were named princes of Mirandola and marquesses of Concordia. In 1617 Alessandro I was finally declared duke.