The Byzantine–Venetian treaty of 1277 was an agreement between the Byzantine Empire and the Republic of Venice that renegotiated and extended for two years the previous 1268 treaty between the two powers. The agreement was beneficial for both sides: Byzantine emperor Michael VIII Palaiologos kept the Venetians and their fleet from participating in the attempts of Charles of Anjou to organize an anti-Byzantine crusade, while the Venetians were able to retain their access to the Byzantine market, and even augment their trading privileges by gaining direct access to the Black Sea and the right to their own quarters in Constantinople and Thessalonica. Furthermore, they were able to stop the Byzantine reconquest of Venetian-aligned territories in the Aegean, although the treaty explicitly allow