Complex sentence: The town is said to receive its name after Samo's legendary son Kojata, who allegedly defeated Avars at this locality and founded a settlement named Kojata, later Kojetín.
Split into simpler sentences: The town is said to receive its name after Samo's legendary son Kojata. Kojata allegedly defeated Avars at this locality and founded a settlement named Kojata, later Kojetín.