Complex sentence: When it fell to the Romans the great city had become mostly a burning ruin, ending in tragedy the long rivalry between the two major powers of the western Mediterranean.
Split into simpler sentences: When it fell to the Romans the wealthy city was mostly a burning ruin. Thus ended in tragedy a long rivalry between two major powers of the western Mediterranean.