What industry led to a Brazil ending the slave trade later than in other countries?

The sugar industry led to Brazil ending the slave trade later than in other countries.