Horrified by the suffering of wounded soldiers left on the battlefield, Dunant set about a process that led to the Geneva Conventions and the establishment of the International Red Cross.
The war's geopolitical context was the nationalist struggle to unify Italy, which had long been divided among France, Austria, Spain and numerous independent Italian states.
The battle took place near the villages of Solferino and San Martino, Italy, south of Lake Garda between Milan and Verona.
In the morning of 23 June, after the arrival of emperor Franz Joseph, the Austrian army changed direction to counterattack along the river Chiese.
Many of its men and generals were veterans of the French conquest of Algeria and the Crimean War, but its commander-in-chief had very limited military experience of note.
Marshal Jean-Baptiste Philibert Vaillant served as Chief of Staff to Napoleon III, while Victor Emmanuel was accompanied by his Minister of War, Lieutenant General Alfonso Ferrero La Marmora.
According to the allied battle plan formulated on 24 June, the Franco-Sardinian army moved east to deploy along the right river banks of the Mincio.
In the absence of a fixed battle plan, the fighting which took place was uncoordinated, which is why so many casualties occurred, and it fell into three separate engagements, at Medole (south), Solferino (centre) and San Martino (north).
Niel, holding a thin line of 5 kilometres (3.1 mi) in length, was able to stop the Austrian assaults on his position by ably warding off attacks and counterattacking at opportune moments.
According to Schneid, "By early afternoon, the Austrian attack had failed and Niel pushed beyond Robecco and Casa Nova halfway to Guidizzolo.
Around 5 am 2nd Corps under Mac-Mahon (two infantry divisions and a cavalry brigade under La Motterouge, Decaen and Gaudin) encountered Hungarian units posted near Ca’Morino (Medole).
According to Schneid, "Stadion received reinforcements from Clam Gallas' I Korps but Napoleon III fed the Imperial Guard divisions into the combat and by 2:00 pm the cemetery and town were surrounded.
[7] The main Sardinian contribution in the overall battle consisted in keeping Benedek's corps deeply engaged throughout the day and preventing the sending of two brigades as reinforcement to the force attacked by the French in Solferino.
Napoleon III was moved by the losses, as he had argued back in 1852 "the French Empire is peace", and for reasons including the Prussian threat and domestic protests by the Roman Catholics, he decided to put an end to the war with the Armistice of Villafranca on 11 July 1859.
Jean-Henri Dunant, who witnessed the aftermath of the battle in person, was motivated by the horrific suffering of wounded soldiers left on the battlefield to begin a campaign that would eventually result in the Geneva Conventions and the establishment of the International Red Cross.
Nearby Castiglione delle Stiviere, where many of the wounded were taken after the battle, is the site of the museum of the International Red Cross, focusing on the events that led to the formation of that organization.