Treaty of Campo Formio
The duchy remained in Austrian hands until it was overrun by the French army of Napoleon Bonaparte in 1796. The duchy was ceded by Austria in the Treaty of Campo Formio in 1797, and formed the central part of the new Cisalpine Republic.