Like many other Caribbean nations, Cuba participated in the Transatlantic Slave Trade. Over a million slaves were brought to Cuba from the 16th Century until 2867 to work on sugarcane plantations. After the Haitian Revolution in 1804, Cuba became the largest producer of sugar in the world. Slaves working on sugarcane plantations faced back breaking conditions. They worked an average of 20 hours a day, and were crammed into inhumane barracoons at night. Most nights, slaves only got 3-4 hours of sleep before having to return to the sugarcane fields.