In New York, slavery was ended in 1799 under a Gradual Emancipation Act.