I recommend reading up on the history of Haiti. Independence was declared first (by the upper classes) and the 1804 massacre came later. There were, of course, a number of slave revolts that happened throughout that time, but the genocide was in 1804.