Complex sentence: Di pointed out that, by law, the two should not be executed--and this initially offended Emperor Gaozong, who ordered Di to leave his presence.
Split into simpler sentences: Di pointed out that, by law, the two should not be executed. This initially offended Emperor Gaozong, who ordered Di to leave his presence.