Affleck elected Fellow of the Royal Society