<human>:  When was the mineral Lapis lazuli first discovered?
<bot>: Lapis lazuli was first discovered in the 6th century BC in Afghanistan. It was used as a gemstone in ancient Egypt, and was also used in the ancient world as a pigment. It was also used in the Middle Ages as a pigment for painting and stained glass.