Conversation so far:
Why was William McKinley defeated for re-election?
Recognizing McKinley's potential, the Democrats, whenever they controlled the Ohio legislature, sought to gerrymander or redistrict him out of office.
What does gerrymandering mean?
Gerrymandering is a practice intended to establish a political advantage for a particular party or group by manipulating district boundaries.

Question: what did he go on to do instead?
Self-contained rewrite: What did William McKinley go on to do instead of Ohio legislation?