Protect the fetus from infection.
Tie the cervix closed.
Allow time to give antenatal corticosteroids.
Prevent rupture of the membranes.