 Papin continued to work on steam engines for the next fifteen years.In 1695 he moved from Marburg to Kassel.In 1705 he developed a second steam engine with the help of Gottfried Leibniz, based on an invention by Thomas Savery, but this used steam pressure rather than atmospheric pressure.