Two years later, French forces invaded the remaining area of the Papal States and General Louis-Alexandre Berthier declared a Roman Republic (February 1798). Pope Pius VI fled to Siena, and died in exile in Valence (France) in 1799. The French Consulate restored the Papal States in June 1800 and the newly elected Pope Pius VII took up residency in Rome, but the French Empire under Napoleon invaded in 1808, and this time on 17 May 1809 the remainder of the States of the Church were annexed to France, forming the "départements" of "Tibre" and "Trasimène".