How does the sentence end?

Carrie fostered Mary in their home when they were young, and
Mary wanted to give them gratitude.