Berkeley County, WV: A County Divided by Civil War

Berkeley County, WV: A County Divided by Civil War

Berkeley County, West Virginia holds a singular place in Civil War history. Situated at the northern tip of the Shenandoah Valley and anchored by the vital Baltimore & Ohio Railroad, it was fought over repeatedly by Union and Confederate forces alike. This is the story of a county caught between two worlds — and transformed by conflict.

Few counties in the border states endured the Civil War’s chaos quite like Berkeley County, West Virginia. Perched at the confluence of geography and strategy — where the fertile Shenandoah Valley narrows toward the Potomac River, and where the Baltimore & Ohio Railroad threaded the mountains — Berkeley County became a perpetual battleground from 1861 to 1865. Its county seat, Martinsburg, changed hands no fewer than a dozen times during the war, earning it a grim reputation as one of the most contested towns in the Eastern Theater.

A County That Wasn’t Yet a State

When the war began in April 1861, Berkeley County was still part of Virginia. Its residents were deeply divided. The plantation economy of the Shenandoah Valley had taken root here, and many prominent families — the Boydmakers, the Hunters, the Porterfields — held Confederate sympathies. Yet the county’s working-class population, many of them railroad workers and small farmers, leaned Unionist. The tension reflected Virginia’s own fractures, and when the western counties voted to break away and form West Virginia in 1863, Berkeley County’s allegiance hung in the balance. It was officially incorporated into the new state by a contested vote that Confederate sympathizers would argue was coerced.

The Railroad: A Prize Worth Fighting For

No single element shaped the military importance of Berkeley County more than the Baltimore & Ohio Railroad. The B&O was the Union’s critical supply and communications artery connecting the mid-Atlantic to the Ohio Valley. Martinsburg housed large B&O locomotive repair shops — facilities capable of servicing dozens of engines at once. When Confederate General Thomas “Stonewall” Jackson marched into Martinsburg in May 1861, one of his primary objectives was the destruction of B&O infrastructure.

Jackson ordered the capture and removal of over 40 locomotives and hundreds of rail cars to Confederate-held territory, an operation of remarkable logistical complexity. Those he couldn’t move, he burned. The shops themselves were put to the torch. The loss crippled Union logistics for months. This single act illustrated Berkeley County’s strategic value: whoever controlled Martinsburg controlled the railroad, and whoever controlled the railroad held the upper hand in the Valley campaign.

The Battles of Martinsburg

Martinsburg witnessed two significant engagements during the war. In the First Battle of Martinsburg on July 2, 1861, Confederate forces under Colonel George Porterfield — a Berkeley County native — skirmished with Union troops under Brigadier General Robert Patterson. It was a relatively minor action, but it signaled what was to come: years of occupation and counter-occupation.

The Second Battle of Martinsburg, fought July 3–4, 1864, was far more consequential. Confederate Lieutenant General Jubal Early’s corps swept through the Shenandoah Valley in a bold raid toward Washington, D.C. Union forces under Major General Franz Sigel attempted to hold Martinsburg but were overwhelmed and driven back across the Potomac at Shepherdstown. Early’s raid reached the outskirts of Washington before being turned back, and the ease with which he swept through Berkeley County revealed just how thinly the Union held the Valley.

Sheridan and the Burning

By the autumn of 1864, Union General Ulysses Grant had seen enough. He dispatched Major General Philip Sheridan to the Shenandoah Valley with a simple directive: destroy Early’s army and lay waste to the Valley’s agricultural capacity so thoroughly that “a crow flying over it will have to carry its own provender.” Sheridan’s campaign, known as “The Burning,” swept through the Valley in September and October 1864. Berkeley County’s farms, mills, and barns were not spared. Haystacks, granaries, and livestock were destroyed wholesale to deny Confederate forces the sustenance they had long drawn from this fertile region.

For the civilian population of Berkeley County — already exhausted by three years of occupation, requisition, and violence — the Burning was devastating. Families that had managed to remain neutral or survive through careful navigation of allegiances found themselves facing hunger and destitution as winter approached.

Belle Boyd: Berkeley County’s Confederate Spy

No account of Berkeley County’s Civil War experience would be complete without mentioning Belle Boyd, born in Martinsburg in 1844. Boyd became one of the Confederacy’s most celebrated spies, passing intelligence to Stonewall Jackson and J.E.B. Stuart during the early years of the war. She was arrested multiple times by Union authorities and twice imprisoned, but her charm and audacity became legendary on both sides. After the war she became an actress and lecturer, and her memoir Belle Boyd in Camp and Prison (1865) remains a primary source for historians of the period. A historical marker in Martinsburg commemorates her birthplace to this day.

The Human Cost

The toll on Berkeley County’s population was enormous. Men from both sides of the conflict are buried in the county’s churchyards and cemeteries. The Norborne Parish Cemetery in Martinsburg holds the graves of Confederate and Union soldiers alike. Families were torn apart — brothers fighting on opposite sides, fathers and sons in enemy camps. The economic destruction wrought by years of military occupation and the Burning set the county back a generation.

Reconstruction and Memory

After Appomattox, Berkeley County faced the difficult work of rebuilding — physically, economically, and socially. The B&O Railroad shops were reconstructed and became the engine of the county’s economy once more. The county remained politically fractious through Reconstruction, with the legacy of divided loyalties shaping local politics well into the 20th century.

Today, visitors can explore Berkeley County’s Civil War heritage through several preserved sites. The Martinsburg–Berkeley County Museum houses extensive collections of period artifacts. Driving tours trace the routes of Jackson’s cavalry and Sheridan’s infantry through the countryside. The B&O Railroad heritage, including restored station facilities, anchors historic downtown Martinsburg. For students of the Civil War, Berkeley County remains an essential and often overlooked chapter in the story of a nation’s most defining conflict.

Share this post: LinkedIn Reddit WhatsApp Mastodon
Jesse Borden

Jesse Borden

Software Engineer with an interest in hands on learning

I have several years of professional Information Technology (IT) experience leading staff and projects within the Department of War (DOW). I have managed Service Desk, Web Application Development, and System Administration teams. My two greatest passions are learning and conti...