Complex sentence: After the death of his elder brothers Amnon and Absalom, he became heir-apparent to the throne, but Solomon, a younger brother, was preferred to him.
Split into simpler sentences: After the death of his elder brothers, Amnon and Absalom, he became heir-apparent to the throne. But Solomon, a younger brother, was preferred to him.