Complex sentence: Moravia reached its largest territorial extent under Svatopluk I (r.871--894), who was occasionally styled as king in contemporaneous sources, Moravia became an independent realm.
Split into simpler sentences: Moravia reached its largest territorial extent under Svatopluk I (r.871--894). Under Svatopluk, who was occasionally styled as king in contemporaneous sources, Moravia became an independent realm.