Complete the following sentence.

Sarah taught Mary's speech class; when she passed her final exam,
Mary celebrated with ice cream.