qnli question: In what year did the state of New York eliminate slavery? sentence: Under New York State's gradual abolition act of 1799, children of slave mothers were born to be eventually liberated but were held in indentured servitude until their mid-to-late twenties.