Question: who was the president when south carolina seceded
Answer: James Buchanan , the United States president , declared the ordinance illegal but did not act to stop it .