Africans who immigrated to the United States to become African Americans against their will were slaves until the Emancipation Proclamation in the 1860’s that divided the North against the South, resulting in The Civil War. Hope that helps!
The fourteenth amendment says "All persons born or naturalized in the Unites States, and subject to the juisdiction thereof, are citizens of the United States"