qnli question: In what year did the state of New York eliminate slavery? sentence: It was not until 1827 that slavery was completely abolished in the state, and free blacks struggled afterward with discrimination.