Add spaces between the words in the following text: WhenProfessorGeorgeHill,principalofStMary'sCollegeinStAndrews(thedivinityCollegeoftheUniversity),dieditwasHaldanewhosucceededhimasprincipalofStMary'sCollegeandprofessoroftheologyon21September1820.
When Professor George Hill, principal of St Mary's College in St Andrews (the divinity College of the University), died it was Haldane who succeeded him as principal of St Mary's College and professor of theology on 21 September 1820.