Spartanburg is the largest city in and the county seat of Spartanburg County, South Carolina, United States. It is the second-largest city of the three primary cities in the Upstate region of South Carolina, and is located 98 miles (158 km) northwest of Columbia, 80 miles (130 km) west of Charlotte, and about 190 miles (310 km) northeast of Atlanta. Spartanburg's population was 37,013 at the 2010 census.