Complex sentence: When his father died, Johann Nepomuk Karl was only eight and his uncle Josef Wenzel ruled as regent and took care of his nephew's education, preparing him for his future role.
Split into simpler sentences: When his father died, Johann Nepomuk Karl was only eight and his uncle Josef Wenzel ruled as regent. The regent took care of his nephew and prepared him with care for his future role.