Complex sentence: She was great friends with Elya Yelnats, who is given a pig by Madame Zeroni but he just so happened to break his promise of carrying her to the top of the mountain.
Split into simpler sentences: She was great friends with Elya Yelnats, and she gave him a pig. But he just so happened to break his promise of carrying her to the top of the mountain.