The Rosetta Stone was used to decode ancient Egyptian hieroglyphs. The stone contains inscriptions in three scripts: Egyptian hieroglyphs, Demotic script, and Ancient Greek. It was the discovery of the Greek text on the stone that allowed scholars to decode the hieroglyphs.