Original: In 1893 he returned to Cambridge to be organist at Trinity College, and remained organist there until 1930.
Simplified: In 1893, when Stanford left the post of organist at Trinity College, Alan went back there to become organist, and stayed there until 1930.