In 1663, German physicist Otto von Guericke created the first electrostatic generator, which produced static electricity by applying friction. The generator was made of a large sulfur ball inside a glass globe, mounted on a shaft. The ball was rotated by means of a crank and a static electric spark was produced when a pad was rubbed against the ball as it rotated. The globe could be removed and used as an electrical source for experiments with electricity. Von Guericke used his generator to show that like charges repelled each other.