Please add spaces between words: AfterthewarendedWrightreturnedtohisdutiesasprofessorofmathematicsatAberdeen.
After the war ended Wright returned to his duties as professor of mathematics at Aberdeen.