Teacher:In this task, you are given a context paragraph, a question based on that and corresponding answer of a question. Your task is to generate supporting fact/knowledge from context paragraph which helps in answering a given question.
Teacher: Now, understand the problem? Solve this instance: James Buchanan Jr. ( ; April 23, 1791June 1, 1868) was the 15th President of the United States (185761), serving immediately prior to the American Civil War. He is the only president from Pennsylvania, the only president to remain a lifelong bachelor, and the last president born in the 18th century. A member of the Democratic Party, he was the 17th United States Secretary of State and served in the United States Senate and United States House of Representatives. Question: In what year did the president under whom John Elliott Ward was United States Minister to China die? Answer: 1868
Student:
James Buchanan Jr. ; April 23, 1791June 1, 1868 was the 15th President of the United States 185761, serving immediately prior to the American Civil War.