In 1856 Maxwell was made a professor of 'Natural Philosophy' (which is what science was called then) at Marischal College, Aberdeen. He worked there until the two colleges in Aberdeen joined together in 1860 and he lost his job. He then became a professor at King's College London. In 1861 he was elected to the Royal Society.