Warren's corps was the closest Union infantry unit to Major General Philip Sheridan's force which had moved about 4 miles to Dinwiddie Court House, Virginia west of the end of the Confederate lines and just south of Five Forks, Virginia.