Complex sentence: In order to defeat the trolls, the elves made a deal with the human Empire of Arathor; the elves would agree to teach magic to the humans in return for their aid.
Split into simpler sentences: In order to defeat the Trolls, the Elves made a deal with the human Empire of Arathor. The Elves would agree to teach magic to the humans in return for their aid.