In the fourth war, 1377--1381, Venice itself was threatened with capture by the Genoese and their allies, and although victorious in the fighting, the exhausted Venetians accepted peace terms which amounted to defeat.
Venice itself was threatened with capture by the Genoese. This was in the fourth war. Venice itself was threatened with capture by their allies. This was in the fourth war. The fourth war was 1377--1381. Although victorious in the fighting, the exhausted Venetians accepted peace terms. These peace terms amounted to defeat.