Venice and the Ottoman Empire signed a treaty ending a 16-year war, ceding Venetian territories and requiring annual tribute for trade rights.