47990
He spent much of World War I in captivity , and was only freed in July 1917 , after Emperor Charles declared a general amnesty for political prisoners .
 Charles
Please list all entity words in the text that fit the category. Output format is "word1, word2". 
Option: location, person, organization 
Text: {0} 
Answer:
 Charles