Rutherford Hayes actually said...
No military or naval officer, or other person engaged in the civil, military, or naval service of the United States, shall order, bring, keep, or have under his authority or control any troops or armed men at the place where any general or special election is held in any State, unless it be necessary to repel the armed enemies of the United States or to keep the peace at the polls.
04/28/1879