At about 4 to 5 months a baby can sit up in a "propped" tri-pod position.
Then they must learn the "righting" reflex. This means, if they lose their center, they can put out a hand to the side for balance. Once, they master their center of balance the baby can sit independently. Usually this is at 6 to 7 months.