France then dropped out of the war since it feared that a unified Italy might be a threar and realised the that Austrian strength would eventually crusg the French. That ended the war, with Austria keeping Venetia.