did not come in New York until July 4, 1827, when it was celebrated with a big parade. However, in the 1830 census, the only state with no slaves was Vermont. In the 1840 census, there were still slaves in New Hampshire (1), Rhode Island (5), Connecticut (17), New York (4), Pennsylvania (64), Ohio (3), Indiana (3), Illinois (331), Iowa (16), and Wisconsin (11). There were none in these states in the 1850 census. In Massachusetts, slavery was successfully challenged in court in 1783 in a freedom suit by Quock Walker; he said that slavery was in contradiction to the state's new constitution of 1780 providing for equality of men. Freed slaves were subject to racial segregation and discrimination in the North, and in many cases they did not have the right to vote until ratification of the Fifteenth Amendment in 1870. Most Northern states passed legislation for gradual abolition, first freeing children born to slave mothers (and requiring them to serve lengthy indentures to their mother's owners, often into their 20s as young adults). In 1845, the Supreme Court of New Jersey received lengthy arguments towards "the deliverance of four thousand persons from bondage". Pennsylvania's last slaves were freed in 1847, Connecticut's in 1848, and while neither New Hampshire nor New Jersey had any slaves in the 1850 Census, and New Jersey only one and New Hampshire none in the 1860 Census, slavery was never prohibited in either state until ratification of the 13th Amendment in 1865 (and New Jersey was one of the last states to ratify it). None of the Southern states abolished slavery before 1865, but it was not unusual for individual slaveholders in the South to free numerous slaves, often citing revolutionary ideals, in their wills. Methodist, Quaker, and Baptist preachers traveled in the South, appealing to slaveholders to manumit their slaves, and there were "manumission societies" in some Southern states. By 1810, the number and proportion of free blacks in the population of the United States had risen dramatically. Most free blacks lived in the North, but even in the Upper South, the proportion of free blacks went from less than one percent of all blacks to more than ten percent, even as the total number of slaves was increasing through imports. One of the early Puritan writings on this subject was "The Selling of Joseph," by Samuel Sewall in 1700. In it, Sewall