 The state was fully restored to the United States on July 9, 1868.As part of the Compromise of 1877, in which Southern Democrats would acknowledge Republican Rutherford B. Hayes as president, Republicans would meet certain demands.One affecting South Carolina was the removal of all U.S. military forces from the former Confederate states.