 In the Treaty of Aix-la-Chapelle (1748) the city passed definitively to the Kingdom of Naples.Italy gained stability for the first time in the 18th century.The new territorial settlement and the accession of the peaceful Ferdinand VI of Spain allowed the peace settlement to last until the outbreak of the French Revolutionary Wars in 1792.