Task: Translation
Input (English): English sentence: This was a time when he received high office in a number of societies, being president of the London Mathematical Society from 1870 to 1872 and, from 1871 to 1878, being treasurer of the Royal Society .
Output (Tagalog): Ito ay isang oras kapag siya ay nakatanggap ng mataas na opisina sa isang bilang ng mga lipunan, pagiging presidente ng London matematiko Society 1870-1872, at 1871-1878, ini-ingat-yaman ng Royal Society.