Complex sentence: The Dalai Lama disliked the agreement, but returned to Lhasa and for several years and tried to work within its terms.
Split into simpler sentences: The Dalai Lama disliked the agreement. He returned to Lhasa, and for several years tried to work within its terms.