Choose the correct item.
Mary _____ all the chocolates by the time I got back.
was eating
had been eating
had eaten
ate