During the last days of August Grant renewed his plan to destroy the Weldon railroad. This task was given to General Warren, with a large force who, after fighting several hard battles with the dashing Mahone, whose numbers were greatly inferior to that of Warren, and from his reputation for strategy it is thought that he was very worthy to wear the mantle of "Stonewall" Jackson, the Federals succeeded in destroying this railroad in several places.
Grant continued to extend his lines, and by the end of October he was very near the Southside railroad, and on the 27th fought a desperate battle with A. P. Hill at Hatcher's Run, in which the Federals were defeated and retired within their entrenchments before Petersburg, this being the last engagement of importance until the coming spring.
The suffering and privation endured by Lee's army during the winter of 1864 and 1865, while they lay within the defenses of Petersburg and Richmond with scant clothing and food, can scarcely be imagined by anyone excepting those who were there. Their numbers were depleted by sickness and other causes so by the coming of spring Lee had within his ranks less than 50,000 men.
Lee's lines had been extended until they were so thin that there was danger of breaking. A. P. Hill held the right, Gordon and Anderson the center, and Longstreet the left. Late in February Grant's army was reënforced by General Sheridan from the valley, and in the last days of March it was further reënforced from General Butler's army from down the James River.
General Lee began to see the position that he was in with his army against superior numbers and equipment, and felt that he must sooner or later evacuate Petersburg, and began to plan a junction of his army with General Johnston's in North Carolina.
General Grant anticipated this plan of Lee's and began to extend his lines westward so if possible to cut off Lee's chances of retreat.
Lee determined to make a bold attack on Grant's right, the objective point being Fort Stedman. This plan was given to General Gordon to be carried out, which he gallantly did, and captured the fort, but was unable to hold the same, and retired within the Confederate lines. His attack and capture of Fort Stedman was carefully planned and well supported by the main Confederate army.
The battle at Fort Stedman did not interfere with Grant's plan in extending his lines along the front of the Confederate army, under General Warren. Lee had sent General Anderson to hold the road over which he would retreat in the event he was compelled to evacuate Petersburg.
On the 31st a large Confederate force was at Dinwiddie Court House, and during that night they took a strong position at Five Forks, and here on April 1st a hard battle was fought, the Federals being commanded by Generals Sheridan and Warren. The Confederates were finally defeated with a loss of 5,000 prisoners.
The Confederates' defeat at Five Forks was a great blow to Lee, and he immediately began preparations for the evacuation of Petersburg and Richmond.