McKinley was still on General Hayes’ staff when the battle of Kernstown, July 24, 1864, was fought. Crook’s corps had been expecting an easy time when it appeared that the enemy was in force at Kernstown, about four miles from Winchester, where Crook’s troops were. There had been some misinformation regarding the Confederate General Early’s movements, and the force about to be met was that of Early, which outnumbered Crook’s corps three to one. When the battle began one of the regiments was not in position, and Lieutenant McKinley was ordered to bring it in. The road to the regiment needed was through open fields and right in the enemy’s line of fire. Shells were bursting on his right and left, but the boy soldier rode on. He reached the regiment, gave the orders to them, and at his suggestion the regiment fired on the enemy and slowly withdrew to take the position where they were assigned. It was a gallant act of the boy soldier, and General Hayes had not expected him to come back alive.
He distinguished himself for gallantry, for good judgment, and military skill at the battle of Opequan. He had been ordered to bring General Duval’s troops to join the first division, which was getting into the battle. There was a question of which route to take, and upon the choice depended the very existence of General Duval and his brave men. Lieutenant McKinley weighed the chances swiftly, decided instantly, and on his own responsibility pointed out the direction as he gave his superior officer’s command to move. The troops followed his instructions, and came up gallantly and in excellent style, with the smallest possible loss or injury. His own regiment, the Twenty-third Ohio, was less skillfully directed, and suffered the very severe loss of 150 men and officers.
The work accomplished on that day marked young Lieutenant McKinley as both modest and brave.
Early in 1863, William McKinley, Jr., was promoted to the rank of first lieutenant, but was retained on staff duty, as his superior ability, coolness and rare judgment made him invaluable to the regimental commander. That year the regiment saw service almost exclusively in West Virginia, engaged in the scouting duty which alone preserved that territory from falling into the possession of the enemy. It was a wearying year, trying on the men without giving them opportunity to share the glory that more active soldiering would have brought. They were marched east and west, north and south. It was a year of inaction, so far as achieving results were concerned. And in this severer test Lieutenant McKinley proved himself a soldier of the best ability. He kept up that esprit du corps throughout the regiment, without which it would have been ill prepared for service when the time for action came.
This hour—this opportunity—came in late midsummer, when Morgan’s raiders swept that terrifying march to the north of the Ohio river—that raid which struck the great North with the shock of a war experience which they had so happily escaped. The Twenty-third was just near enough to hear the summons and fly to the confronting of Morgan and his men. And it was his engagement with McKinley’s regiment at Buffington’s Island, Ohio, which so crippled the raiders as to completely disarrange their entire plan of campaign, and pave the way for that hopeless march from which they never returned. In that engagement the young Ohio officer bore himself with all bravery, and won a generous share in the honor of crushing the advance of a force which was seriously affecting the moral tone of the whole loyal North.
In the spring of 1864 the Twenty-third marched to Brownstown, on the Kanawha river, where it became a part of the force of General Crook, who was then preparing for his celebrated raid on the Virginia and Tennessee Railroad. The expedition differed little in experience, in danger and in hardship from the everyday service in West Virginia through the previous year. On June 20 the rear of the Union forces, consisting of Hayes’ brigade, held Buford Gap against the enemy’s advance, and then made a hasty night retreat for the van, supposed to be at Salem. But Hunter was not at Salem. The enemy had attacked and cut off his trains, and had forced him beyond the city. Crook’s rear guard was in a manner surrounded, and it was only by rare strategy and brave fighting that he extricated his command from the dilemma. There can be no question the service of Lieutenant William McKinley that day saved the little army, and prevented, in a time when reverses were costly, the recurrence of a Confederate victory.
The retreat before a superior force was kept up without opportunity for rest, and with an insufficient supply of food and ammunition till June 27th, when a safe spot was reached on Big Sewell Mountain. It had been a continuous fight and march for nearly 180 miles. It need not be recited here how General Early’s success in the Shenandoah Valley at this time emboldened him to carry his invasion to the very front of Washington, and to challenge a fight for the national capital. It was all too plain that the Union forces under command of Hunter in the valley were unable to cope with the augmented forces of Early. So General —— sent two corps from the James River country to the rescue of the capital. And it was on that trip that William McKinley, Jr., got his first glimpse of the city of Washington, the capital of the country for which he hoped and prayed, for which he cheerfully imperiled his life.
But Lee had withdrawn from Early’s support a body of reinforcements, and the dashing commander of the threatening force was compelled to retreat southward into farther Virginia. It was Lee’s one mistake, for he had the capital captured, and might have watched the stars and bars in temporarily triumphal progress down Pennsylvania avenue had he backed up the advance on the Potomac. And the glance which Lieutenant McKinley had of the capitol dome that morning in 1864 would have been the last; for an army of invasion, checked and forced to retire, finds fighting from cover and the consequent burning of buildings one of the inescapable incidents of war.
After the battle of Kernstown—less accurately known as the battle of Winchester—the young soldier from Poland, Ohio, was again promoted, this time to the rank of captain. The document dates his advance from July 25, the day after his wise and heroic conduct in delivering orders under fire, and in piloting the imperiled regiment to its place in the battle formation.
His last battle of importance, and one in which he fittingly crowned a career of gallantry and devotion to duty, was that of Cedar Creek, October 19, 1864. Toward the close of that month the regiment was ordered to Martinsburg. On its march to that point the men voted at the Presidential election. The votes were collected by the judges of election as the column was in march, from among the wagons. It was there McKinley cast his first vote. An ambulance was used as an election booth, and an empty candle-box did duty as a ballot-box. At the same time and place Generals Sheridan, Crook and Hayes cast their ballots, and it was the first vote ever cast by Sheridan or Crook.