In 1698 Thomas Savery patented a steam-powered pump that used steam and condensation to draw water upward. His 1702 book described it as the Miner's Friend.
It was limited in how high it could lift water, and Thomas Newcomen's engine of 1712, built under Savery's patent, became the more practical design.