The earliest pipe organs date to the 3rd century BCE in Alexandria (Hellenistic Egypt), where the hydraulis—a water-powered organ—was invented by Ctesibius. These were used in temples and public events.
By the 14th century, German builders began adding reed stops, evolving toward the modern church organ. The first permanently installed church organs appeared in Europe around the 10th–12th centuries.