The electrolysis of sodium and potassium hydroxides,first carried out in 1808 by Sir Humphrey Davey,led to the discovery of these two metallic elements and showed that two hydroxides which had previously been considered undecomposable and thus elements,were in fact compounds.