Original: After gaining his degree Mallory stayed in Cambridge for a year writing an essay he later published as Boswell the Biographer (1912).
Simplified: After getting his degree Mallory stayed in Cambridge for a year writing an essay he later published as Boswell the Biographer (1912).