How does the sentence end?

The homemaker took the dishes out of the dishwasher and put them in the cupboard until the
[I] dishwasher was empty.; [II] cupboard was empty.;
[I]