English colonists founded Charles Town, named after King Charles II, in 1670 on the west bank of the Ashley River, moving to the peninsula between the Ashley and Cooper rivers ten years later. It became one of the richest cities in colonial America, built on rice and indigo grown on plantations by enslaved Africans. A large share of the Africans brought to North America in the slave trade arrived through Charleston's wharves, and their descendants created the Gullah Geechee culture of the coast.
The city was a stronghold of the American Revolution and later of secession: South Carolina was the first state to leave the Union, and the Civil War began here on 12 April 1861, when Confederate guns fired on Fort Sumter in the harbour. Charleston suffered siege, fire, an earthquake in 1886 and many hurricanes, including Hugo in 1989, yet much of its historic core survived — partly because the city was too poor to rebuild after the war, and later thanks to the first historic-preservation ordinance in the US (1931).
Mother Emanuel AME Church, founded by free and enslaved Black worshippers, has been a centre of Black Charleston for two centuries; in 2015 nine members were murdered there in a racist attack, and the city's response became a moment of national reflection. The International African American Museum opened at Gadsden's Wharf in 2023.