The first library in Greece is believed to have been established in the city of Alexandria, in Egypt, in the 3rd century BC. The Library of Alexandria was one of the most famous libraries of the ancient world, and it is said to have contained hundreds of thousands of scrolls. The library was founded by the Ptolemaic dynasty, which ruled Egypt after the death of Alexander the Great. It was intended to be a center of learning and scholarship, and it attracted scholars and intellectuals from all over the Mediterranean world. The library was destroyed in the 3rd or 2nd century BC, and its collections were lost, but it remains an important symbol of the importance of libraries and learning in ancient Greek society.