He earned a PhD in chemistry under Johannes Wislicenus at Würzburg in 1884. Returning to Britain, he taught three years at Cheltenham Ladies College where, according to his niece, "he was far from being a ladies' man and probably found that schoolgirls in bulk were rather more than he could stomach". He left to join University College London (UCL) as an assistant to William Ramsay. His early work was the study of phosphonium and phosphine derivatives and allied ammonium compounds. Later he made important contributions to the knowledge of dehydracetic acid, describing a number of very remarkable 'condensations,' whereby it is converted into pyridine, orcinol and naphthalene derivatives.