 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.