Ancient Egyptians developed a system of hieroglyphic writing using pictorial symbols that was used for ceremonial and permanent messages. Hieroglyphics stems from Greek meaning "sacred carvings". Some hieroglyphics were carved into monuments and buildings, while others were painted on walls and tombs. The Rosetta Stone, discovered in 1799, helped French scholar Champollion decipher Egyptian hieroglyphics in 1822 by comparing the same text in three languages. Hieroglyphics consisted of over 750 individual signs that could be written horizontally, vertically, or in either direction and words were constructed using different combinations.