Task: Text Categorization
Input (English): He was captured by a Kansas soldier who recognized "Colon de Magdalo" as this man's Masonic name and disguised American soldiers as prisoners escorted by Macabebe scouts. Installed as president under the Malolos constitution, he had earlier agreed to leave the country under the Biac-na-Bato agreement with Spain. He drew the wrath of another occupying power and spent many years in Bilibid prison after serving as a Japanese puppet bashing the former U.S. occupiers. For 10 points, name this leader of Chinese and Tagalog descent, who saw Frederick Funston end his term as the first president of the Philippines.
Output (English): History