At the age of ten he was sent to the local grammar school, the Lycée Charlemagne, where he studied until he was eighteen.
He was sent to the local grammar school. This was at the age of ten. Until he was eighteen. This was what he studied. The Lycée Charlemagne was the local grammar school.