Complex sentence: He set about raising the standard of education of his subjects by building schools where by at the end of his reign the majority of his subjects could read and write.
Split into simpler sentences: He set about raising the standard of education of his subjects by building schools. By the end of his reign, the majority of his subjects could read and write.