 Use of water power in the form of water mills was extensive.The water mills were employed in crushing ore, raising ore from shafts, and ventilating galleries by powering giant bellows.Black powder was first used in mining in Selmecbánya, Kingdom of Hungary (now Banská Štiavnica, Slovakia) in 1627.