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 (Ninth 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 could ill afford to lose.