Ancient Egyptians used hieroglyphics for almost 4,000 years, carving them in stone on tombs and temples and writing them on papyrus. The Rosetta Stone, discovered in Egypt, helped scholars decipher hieroglyphics because it contained the same text in hieroglyphic, demotic, and Greek scripts. Egyptians also developed hieratic, a cursive form of hieroglyphics used for writing on papyrus and pottery fragments.