One year later, the two cities signed a peace treaty, which resulted in favourable conditions for Pisa, but in 1199, the Pisans violated it by blockading the port of Brindisi in Apulia. In the following naval battle, they were defeated by the Venetians. The war that followed ended in 1206 with a treaty in which Pisa gave up all its hopes to expand in the Adriatic, though it maintained the trading posts it had established in the area. From that point on, the two cities were united against the rising power of Genoa and sometimes collaborated to increase the trading benefits in Constantinople.