Complex sentence: 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.
Split into simpler sentences: In the fourth war, 1377--1381, Venice itself was threatened with capture by the Genoese and their allies. Although victorious in the fighting, the exhausted Venetians accepted peace terms which amounted to defeat.