Which is a sentence fragment?

AThe sound of footsteps frightened us.
BTo do whatever he wants them to do.
CThen it was over before we knew it.
DBaby birds hatched in the tree in the backyard.