candidate: The development of the electrochemical theory of chemical combinations occurred in the early 19th century as the result of the work of two scientists in particular , J. J. Berzelius and Humphry Davy , made possible by the prior invention of the voltaic pile by Alessandro Volta .