It is difficult to determine exactly when the first public library was established in Greece, as records from this time period are limited. However, libraries were an important part of Greek culture and society, and it is likely that public libraries existed in some form in ancient Greece. The Library of Alexandria, which was founded in the 3rd century BC, was one of the most famous libraries of the ancient world, and it is considered to be one of the first public libraries in history. The library was founded by the Ptolemaic dynasty, which ruled Egypt after the death of Alexander the Great, and it was intended to be a center of learning and scholarship. 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.