I was surprised that this website showed that supposedly slavery lasted to 1827 in New York though declared illegal much earlier. In New Jersey it showed it lasting till 1865. It sounds like so much hogwash to me.
http://slavenorth.com/index.html
http://slavenorth.com/index.html