How was slavery abolished in France?

How was slavery abolished in France?