However, it was the stays of Napoleon III between 1861 and 1866 that were to cause the most profound transformation of the city: dikes were built along the Allier, 13 hectares of landscaped gardens replaced the old marshes and, along the newly laid-out boulevards and the streets, chalets and pavilions were built for the Emperor and his court.