Original: It is attributed to the Hellenistic scientist Ctesibius of Alexandria, an engineer of the 3rd century BC.
Simplified: It was invented in the 3rd century B.C., probably by the Hellenistic scientist Ctesibius of Alexandria.