Melegnano was a stronghold of Milan in the Italian Wars, and known particularly for the Battle of Marignano, a victory over the Swiss in 1515. It is also known for the battles between the French and Austrians in the Second Italian War of Independence (1859).