In 1806 the principality of Neuchâtel was given to Marshal Berthier. Ticino was occupied by French troops from 1810 to 1813. Also, in 1810 the Valais was occupied and converted into the French department of the Simplon to secure the Simplon Pass. At home the liberty of moving from one canton to another (though given by the constitution) was, by the Diet in 1805, restricted by requiting ten years' residence, and then not granting political rights in the canton or a right of profiting by the communal property.