sentence: he became assistant at the astrophysical observatory in potsdam in 1887 and its observer in chief in 1898 , three years after his appointment to the chair of astrophysics in the university of berlin .