what was south carolina state capital?