He entered the University of Texas and quickly came under the influence of Halsted who encouraged him to study mathematics

Please fix the punctuation.
He entered the University of Texas and quickly came under the influence of Halsted who encouraged him to study mathematics.