Chile emerged into independence as a rural economy on what was the periphery of the Spanish Empire. A period of relative free trade that began with independence in the 1810s brought a modernizing development of certain sectors of the Chilean economy. This was accompanied by formation of a local business class, a novelty in Chile. Chile experienced its first modern economic crisis with the Long depression in the 1870s. The exploitation of lucrative nitrate deposits of the north conquered in War of the Pacific (1879–1884) marked a whole epoch in the history of Chile and the economic legacy of nitrate has been widely debated.