Napoleon's invasion of Northern Italy brought disorder in the Papal States. Under the Treaty of Tolentino, Pope Pius VI was forced to cede the Romagna region to the newly founded Cisalpine Republic, and recognize Joseph Bonaparte as ambassador of Rome. Following the dissolution of the First Coalition, a Republican Revolt staged by General Bonaparte and Brig General Mathurin-Leonard Duphot lead to the shooting of Duphot at Joseph's palace by Papal State troops.