thumb|The ruins of the Sans-Souci Palace, severely damaged in the 1842 earthquake and never rebuilt In exchange for diplomatic recognition from France, Boyer was forced to pay a huge indemnity for the loss of French property during the revolution. To pay for this, he had to float loans in France, putting Haiti into a state of debt. Boyer attempted to enforce production through the Code Rural, enacted in 1826, but peasant freeholders, mostly former revolutionary soldiers, had no intention of returning to the forced labor they fought to escape. By 1840, Haiti had ceased to export sugar entirely, although large amounts continued to be grown for local consumption as taffia-a raw rum. However, Haiti continued to export coffee, which required little cultivation and grew semi-wild.
thumb|The ruins of the Sans-Souci Palace, severely damaged in the 1842 earthquake and never rebuilt In exchange for diplomatic recognition from France, Boyer was forced to pay a huge indemnity for the loss of French property during the revolution. To pay for this, he had to float loans in France, putting Haiti into a state of debt. Boyer attempted to enforce production through the Code Rural, enacted in 1826, but peasant freeholders, mostly former revolutionary soldiers, had no intention of returning to the forced labor they fought to escape. By 1840, Haiti had ceased to export sugar entirely, although large amounts continued to be grown for local consumption as taffia-a raw rum. However, Haiti continued to export coffee, which required little cultivation and grew semi-wild.