Complex sentence: Ashamed, the leaders of the two peoples ended the fighting and agreed to a treaty that merged the two kingdoms under a joint throne with Rome as the capital.
Split into simpler sentences: Ashamed, the leaders of the two peoples ended the fighting. The two people are merged under a joint throne with Rome as the capital.