Complex sentence: After a brief civil war which nearly wiped out the branches of the royal family, legend has it that a single royal child was left alive, hence the name Erik the Child.
Split into simpler sentences: After a brief civil war which nearly wiped out the branches of the royal family. Legend has it that after the fighting ended, a single royal child was left alive, hence the name Erik the Child.