There he studied religion, Latin and modern languages, history and geography, and mathematics and science.

Please remove spaces between words.
Therehestudiedreligion,Latinandmodernlanguages,historyandgeography,andmathematicsandscience.