How does the sentence end?

Pat transferred all the potato from the bag into the bowl until the
bag was empty.