Brooklyn, 1800s