On 5 July 1866, the Italian government received news of a mediation effort by Napoleon III for a settlement of the situation, which would allow Austria to receive favourable conditions from Prussia, and, in particular, to maintain Venice.