293348
He was acting United States Secretary of State for a three-day period from March 4 to March 7 , 1825 due to the transition of John Quincy Adams from Secretary of State to President .
 John Quincy Adams
Please list all entity words in the text that fit the category. Output format is "word1, word2". 
Option: location, person, organization 
Text: {0} 
Answer:
 John Quincy Adams