Lee was attacked by a far stronger army from the front and side to crush him by weight of numbers. He divided his forces into a larger and a smaller part, despite the risk in the face of larger numbers, then held off the front attack before turning the army to defeat the side attack. This was a bold and effective tactic where most generals would've retreated.