 Reorganizations placed Ameglia in the Jurisdiction of Lunigiana in 1798 and the Jurisdiction of the Gulf of Venus in 1803.After the Ligurian Republic was directly annexed by France, the town was part of the department of the Apennins from June 1805 to Napoleon's fall in 1814.As a result of the Congress of Vienna, in 1815, Liguria became part of the Kingdom of Sardinia, where it remained until Italian unification in 1861.