Task: Text Categorization
Input (English): As a colonel, this president led a brigade that followed White's West Virginians in a frontal assault at Cloyd's Mountain. This president appointed William Woods and John Harlan to the Supreme Court, and faced the Shamokin Uprising and labor unrest in Martinsburg, West Virginia during a large railroad strike in his first year in office. His Treasury Secretary John Sherman launched the Jay Commission, leading this man to remove Alonzo Cornell and (*) Chester Arthur from their positions with the Port of New York. Horace Greeley's fabricated story about an opponent's "Cipher Dispatches" helped this man win an election resolved by Thomas A. Scott. This President saw his veto on the Bland-Allison Act overridden, delighting his foe Roscoe Conkling. For 10 points, name this President whose victory over Samuel Tilden in 1876 led to the end of Reconstruction.
Output (English): History