Task: Text Categorization
Input (English): The composer of the song The Crabs once saved the life of this ruler, whose name is borne on a law abolishing of immunities of the clergy; this ruler had helped it pass before becoming the Chief Justice of the Supreme Court. He defeated a coup by leading the Rebels in the War of the Reform, causing this man to succeed Comonfort, and he went on to annul his countrys foreign debts, leading to the Battle of Puebla. A key figure in drafting the Plan of Ayutla, he put down several insurrections by Porfirio Diaz prior to his death in 1872. FTP, name this Mexican leader who opposed French rule under Maximilian.
Output (English): History