Task: Question Generation
Input (English): In Charleston, the African American population increased as freedmen moved from rural areas to the major city: from 17,000 in 1860 to over 27,000 in 1880. Historian Eric Foner noted that blacks were glad to be relieved of the many regulations of slavery and to operate outside of white surveillance. Among other changes, most blacks quickly left the Southern Baptist Church, setting up their own black Baptist congregations or joining new African Methodist Episcopal Church and AME Zion churches, both independent black denominations first established in the North. Freedmen "acquired dogs, guns, and liquor (all barred to them under slavery), and refused to yield the sidewalks to whites".
Output (English): How many African Americans lived in Charleston in 1860?