 He proposed an armistice to the Austrians, which was accepted on 8 July.A formal treaty ending the war was signed on 11 July 1859.Count Cavour and the Piedmontese were bitterly disappointed by the abrupt end of the war.