How does the sentence end?

They went on a safari and saw a panda eating bamboo, which Megan loved but Elena didn't care about.
Megan 's favorite animal was the panda.