When the Civil War broke out in 1861, Washington, D.C. remained the capital of the fractured United States and also the military headquarters of the Union Army. Richmond, the newly minted capital of the Confederacy, was less than 100 miles away in neighboring Virginia.

Likening the Civil War to a chess game, the warring capitals of Washington, D.C. and Richmond represented the kings, says Kenneth Winkle, a professor of American history at the University of Nebraska Lincoln.

鈥淭he two capitals were so vital that the capture of either one would end the war,鈥 says Winkle, author of .

At the outset of the Civil War, Washington, D.C. was extremely vulnerable to attack, defended by a solitary fort located 16 miles from the city center. But by the war鈥檚 end in 1865, Washington, D.C. was arguably the most heavily defended city on the planet, ringed by an impenetrable network of 68 earthen forts connected by miles of trenches, gun batteries and military roads.

First Union Offensive Was to Defend Washington, D.C.

The fall of Fort Sumter to the South Carolina militia on April 13, 1861, signaled the start of the Civil War, which was quickly followed by the secession of Virginia. Washington, D.C. now sat directly across the Potomac River from enemy territory.

鈥淭his is a very precarious position,鈥 says Winkle, adding that Washington, D.C.鈥檚 other border was with Maryland, a slave state whose loyalty to the Union was shaky at best.

That鈥檚 why the Union Army鈥檚 of the Civil War was to cross the Potomac into Virginia in the early morning of May 24, 1861 and capture high ground in Alexandria and Arlington, including the family estate of Confederate General Robert E. Lee (which eventually became Arlington National Cemetery).

The Union infantry quickly dug the first earthen forts, Fort Runyon and Fort Corcoran, to prevent the Confederates from installing cannons that could easily strike the capital.

But it was the Union Army鈥檚 shocking defeat in July 1861 at the first Battle of Bull Run鈥攆ought just 30 miles from Washington, D.C. in Manassas, Virginia鈥攖hat convinced President Abraham Lincoln and Congress that the capital needed to be defended at all cost.

A 35-Mile Shield Around Washington, D.C.

The formidable task of fortifying Washington, D.C. fell to Major General John Barnard, a respected Army engineer. Winkle says Barnard quickly recognized that the greatest challenge was Washington, D.C.鈥檚 sprawling layout, the result of architect Pierre L鈥橢nfant鈥檚 ambitious grid design. The only effective way to defend all sides of the capital from attack, Barnard decided, was to establish a circle of fortifications surrounding the city.

Over the winter of 1861 and 1862, Barnard directed a team of Army engineers, soldiers, formerly enslaved people and prisoners of war to build the first 37 earthen forts that created a 35-mile defensive perimeter around the capital.

By the end of the war, the 鈥淔ather of the Defenses of Washington鈥濃攁s Barnard came to be known鈥攃onstructed a total of 68 forts, each made with thick earthen walls that could absorb cannon balls and heavy artillery. Soldiers cleared the forest in front of each fort, dug a deep trench as a dry moat, and built up a barricade of sharpened tree trunks called an 鈥渁batis.鈥

In between the forts were 20 miles of earth-dug trenches known as rifle pits. Barnard also built 93 artillery batteries on prominent hilltops equipped with more than 800 cannons to cut down an invading force. Each fort was only manned by a handful of permanent soldiers, says Winkle, but the entire defensive ring was connected by more than 30 miles of freshly cleared military roads to speedily move thousands of Union troops to the site of an attack.

Barnard鈥檚 successor, Lt. Colonel Barton Alexander, even built a series of river obstructions to guard against a maritime invasion. Known as an 鈥淎lexandria Chain,鈥 the apparatus consisted of floats holding up a 400-foot chain dragging 23 heavy anchors, but was never used in battle.

At the Battle of Fort Stevens, the Fortifications Proved 'Exceedingly Strong'

During the drawn-out conflict, the Confederate Army made several sorties in the direction of Washington, D.C.鈥擶inkle says that both the Battles of Antietam and Gettysburg were primarily designed to threaten the Union capital鈥攂ut the city only suffered one direct attack.

Lincoln wanted Washington, D.C. to be continuously defended by at least 30,000 regular infantry, but that wasn鈥檛 possible in the summer of 1864 when General Ulysses S. Grant desperately needed reinforcements in Virginia. By July, only 9,000 Union troops鈥攎ostly green new recruits and disabled reserves鈥攚ere left to defend the capital and the Confederacy saw a golden opportunity.

Lieutenant General Jubal A. Early led 14,000 Confederate troops across the Potomac River into Maryland and then circled around to attack the Union capital from the north. On July 11, 1864, Early鈥檚 army arrived at Fort Stevens, where Lincoln himself stood with the shaky Union forces.

(Lincoln narrowly avoided being shot by a sniper鈥檚 rifle and had to be dragged off the parapet where his tall figure and top hat made him an easy target. Oliver Wendell Holmes, Jr., the future Supreme Court justice, fought at the Battle of Fort Stevens and to have yelled at Lincoln, 鈥淕et down, you damned fool!鈥)

Early and his men made a few probing runs at the fort, but quickly realized that even with their superior numbers, victory was impossible.

According to Early鈥檚 , the fortifications 鈥渨ere found to be exceedingly strong鈥 and continued 鈥渁s far as the eye could reach鈥 of the same impregnable character.鈥 

The dejected Confederate general concluded that 鈥渆very appliance of science and unlimited means had been used to render the fortifications around Washington as strong as possible.鈥

黄瓜视频直播 Vault: The Secret History of the Civil War

The American Civil War is one of the most studied and dissected events in our history鈥攂ut what you don't know may surprise you.