Luxembourg was annexed by France, becoming the ''département des forêts'' (department of forests), and the incorporation of the former Duchy as a ''département'' into France was formalised at the Treaty of Campo Formio in 1797.