forces tried to wear down the smaller Confederate Army, destroy or cut off sources of supply and supply lines to Petersburg and Richmond and extend the defensive lines which the outnumbered and declining Confederate force had to defend to the breaking point. The Confederates were able to defend Richmond and the important railroad and supply center of Petersburg, Virginia, south of Richmond for over 9 months against a larger force by adopting a defensive strategy and skilfully using trenches and field fortifications. After the Battle of Hatcher's Run on February 5–7, 1865 extended the lines another , Lee had few reserves after manning the lengthened defenses. Lee knew that his forces could not sustain the defenses much longer and the best chance to continue the war was for part or all of his army to leave the Richmond and Petersburg lines, obtain food and supplies at Danville, Virginia or possibly Lynchburg, Virginia and join General Joseph E. Johnston's force opposing Major General William T. Sherman's army in North Carolina. If the Confederates could quickly defeat Sherman, they might turn back to oppose Grant before he could combine his forces with Sherman's. Lee began preparations for the movement and informed Confederate President Jefferson Davis and Confederate States Secretary of War John C. Breckinridge of his conclusions and plan. Under pressure from President Jefferson Davis to maintain the defenses of Richmond and unable to move effectively over muddy roads with poorly fed animals in winter in any event, General Lee accepted a plan by Major General John B. Gordon to launch an attack on Union Fort Stedman designed to break Union lines east of Petersburg or at least compel Grant to shorten the Union Army lines. If this were to be accomplished, Lee would have a better chance to shorten the Confederate lines and send a substantial force, or nearly his whole army, to help Joe Johnston. Gordon's surprise attack on Fort Stedman in the pre-dawn hours of March 25, 1865 captured the fort, three adjacent batteries and over 500 prisoners while killing and wounding about 500 more Union soldiers. The Union IX Corps under Major General John G. Parke promptly counterattacked. The IX Corps recaptured the fort and batteries, forced the Confederates to return to their lines and in places to give up their advance picket line. The IX Corps inflicted about 4,000 casualties, including about 1,000 captured, whom the Confederates