The city was developed to boost sugar production and trade, but soon it evolved into a coffee trading centre. In 1896 it suffered a major fire that destroyed most of the buildings in the city. The city was rebuilt, often using prefabricated cast-iron pillars and balconies shipped from France. Many ornate mansions of wealthy coffee merchants from this time have been preserved up to this day without much change and the whole central part of the city has changed little over the last 100 years.