York County is a county located in the north-central section of the U.S. state of South Carolina. As of the 2010 census, the population was 226,073. Its county seat is York, South Carolina, and its largest city is Rock Hill.