They worked in captivity for two hundred years, until New York abolished slavery in 1827. Emancipation set free ten thousand slaves in Manhattan. But they found their economic conditions little changed, confined as they were to the lowliest positions and facing steep competition from newly arrived immigrants.