the nomination went to former Indiana senator Benjamin Harrison, who was elected president. In the bitterness that followed the convention, Hanna abandoned Foraker. For the rest of McKinley's life, the Ohio Republican Party was divided into two factions, one aligned with McKinley, Sherman, and Hanna, and the other with Foraker. Hanna came to admire McKinley and became a friend and close adviser to him. Although Hanna remained active in business and in promoting other Republicans, in the years after 1888, he spent an increasing amount of time boosting McKinley's political career. In 1889, with the Republicans in the majority, McKinley sought election as Speaker of the House. He failed to gain the post, which went to Thomas B. Reed of Maine; however, Speaker Reed appointed McKinley chairman of the Ways and Means Committee. The Ohioan guided the McKinley Tariff of 1890 through Congress; although McKinley's work was altered through the influence of special interests in the Senate, it imposed a number of protective tariffs on foreign goods. Gerrymandering and defeat for re-election Recognizing McKinley's potential, the Democrats, whenever they controlled the Ohio legislature, sought to gerrymander or redistrict him out of office. In 1878, McKinley was redistricted to the 16th congressional district; he won anyway, causing Hayes to exult, "Oh, the good luck of McKinley! He was gerrymandered out and then beat the gerrymander! We enjoyed it as much as he did." After the 1882 election, McKinley was unseated on an election contest by a near party-line House vote. Out of office, he was briefly depressed by the setback, but soon vowed to run again. The Democrats again redistricted Stark County for the 1884 election; McKinley was returned to Congress anyway. For 1890, the Democrats gerrymandered McKinley one final time, placing Stark County in the same district as one of the strongest pro-Democrat counties, Holmes, populated by solidly Democratic Pennsylvania Dutch. Based on past results, Democrats thought the new boundaries should produce a Democratic majority of 2,000 to 3,000. The Republicans could not reverse the gerrymander, as legislative elections would not be held until 1891, but they could throw all their energies into the district. The McKinley Tariff was a main theme of the Democratic campaign nationwide, and there was considerable attention paid to McKinley's race. The Republican Party sent its leading orators to Canton, including Blaine (then Secretary of State), Speaker Reed, and President Harrison. The Democrats countered with