Signed in the wake of major French victories over the Austrian armies, the Treaty of Campo Formio of October 1797, dictated by General Bonaparte, provided that Austria would be compensated for the loss of the Austrian Netherlands and Austrian Lombardy with Venice and Dalmatia. A secret article, not implemented at the time, added the Archbishopric of Salzburg and a portion of Bavaria as additional compensation. The treaty also provided for the holding of a congress at Rastatt where delegates of the Imperial Diet would negotiate a general peace with France.