How does the sentence end?

The farmer took the turkeys out of the barn and put them in the pen until the
pen was full.