he was an enthusiastic teacher both of graduates and undergraduates, and was a "character" particularly in his later years, winning the affection both of mathematicians and of a wider circle.

Write the above sentence using proper case.
He was an enthusiastic teacher both of graduates and undergraduates, and was a "character" particularly in his later years, winning the affection both of mathematicians and of a wider circle.