Complex sentence: Agung died in the spring of 1646, with his image of royal invincibility shattered by his losses to the Dutch, but he did leave behind an empire that covered most of Java and stretched to its neighboring islands.
Split into simpler sentences: Agung died in the spring of 1646, with his image of royal invincibility shattered by his losses to the Dutch. But he did leave behind an empire that covered most of Java and stretched to its neighboring islands.