The Order began to decline in the 1770s, and was severely weakened by the French Revolution in 1792. In 1798, French forces under Napoleon invaded Malta and expelled the Order, resulting in the French occupation of Malta. The Maltese eventually rebelled against the French, and the islands became a British protectorate in 1800. Malta was to be returned to the Order by the Treaty of Amiens in 1802, but the British remained in control and the islands formally became a British colony by the Treaty of Paris in 1814.