He became the very first student to officially earn by examination a graduate degree from Princeton

Can you repeat this sentence, but add in punctuation?
He became the very first student to officially earn, by examination, a graduate degree from Princeton.