Original: Around 1000, as part of the German conquest of Slavic territory, the family acquired Wettin Castle, after which they named themselves.
Simplified: Around 1000, as part of the German conquest of Slavic territory, the family got Wettin Castle and changed their name.