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 .
 person: Charles
Given options, please tell me the categories of all the listed entity words.Output format is "type1: word1; type2: word2". 
Option: location, person, organization 
Text: {0} 
 Entities: Charles 
Answer:
 person: Charles