Wollaston also performed important work in electricity. In 1801, he performed an experiment showing that the electricity from friction was identical to that produced by voltaic piles. During the last years of his life he performed electrical experiments, which resulted in his accidental discovery of electromagnetic induction 10 years prior to Michael Faraday, preceding the eventual design of the electric motor: Faraday constructed the first working electric motor and published his results without acknowledging Wollaston's previous work. Wollaston's demonstration of a motor to the Royal Society had failed, however, but nonetheless his prior work was acknowledged by Humphry Davy in the same paper which lauded Faraday's "ingenious" experiments. Wollaston also invented a battery that allowed the zinc plates in the battery to be raised out of the acid, so that the zinc would not be dissolved as quickly as it would if it were in the battery all the time.