Complex sentence: However, they had to go to court to retain the use of their name, which they won and duly moved from SM Entertainment to Good Entertainment.
Split into simpler sentences: However, they had to go to court to retain the use of their name. Which they won and duly moved from SM Entertainment to Good Entertainment.