In April 1864, Lee was promoted to major general and commanded a division in the Cavalry Corps during the battles of The Wilderness; Todd's Tavern; Spotsylvania Court House; and North Anna in the Overland Campaign. With the death of Jeb Stuart, Rooney Lee's role increased. Lee's cavalry division patrolled the extreme right of the Confederate lines during the Siege of Petersburg, defending against the Wilson-Kautz Raid at Staunton River Bridge, Sappony Church and First Ream's Station. His division was then sent north to briefly aid in the defense of Richmond at the Second Battle of Deep Bottom, before supporting General Wade Hampton III's Beefsteak Raid, and then returning to Petersburg for the Battle of Boydton Plank Road.