Bragg was elected Fellow of the Royal Society in 1907 . Bragg was elected Fellow of the Royal Society in 1907 , vice-president in 1920 , and served as President of the Royal Society from 1935 to 1940 .