By 1670, the church of "Santa Maria del Principio" had been rebuilt upon the ruins of its second incarnation, in time for the centennial of its original consecration. Once again the Church "Casale" and town houses had been repopulated, and the new town centre restored. The town experienced an economically prosperous period under the Spanish Kingdom of Naples. The economic prosperity continued under the Bourbon rulers, who had replaced the Habsburgs as the dynastic rulers of the Kingdom of Naples by the 18th century as a result of the War of the Spanish Succession. The rule of Charles III of Spain (1735–59) was a particularly successful period for the whole Province of Naples, including San Giorgio, as he invested heavily in the economy of the region.