The Battle of Magenta was fought on 4 June 1859 during the Second Italian War of Independence, resulting in a French-Sardinian victory under Napoleon III against the Austrians under Marshal Ferencz Gyulai.