question: In what year did Jerónimo de Ayanz y Beaumont patent a water pump for draining mines?
sentence: Denis Papin, a Huguenot refugee, did some useful work on the steam digester in 1679, and first used a piston to raise weights in 1690.