How does the sentence end?

John had collected so many worms he had to move them from the jar to the container, because the
container was larger.