Alexander the Great founded the city of Alexandria in Egypt in 331 BC. Under the Ptolemaic dynasty that succeeded Alexander, the Library of Alexandria was built and became the largest and most significant repository of knowledge and literature in the ancient world, housing over 500,000 scrolls. The library and adjacent museum attracted scholars from across the Mediterranean and helped make Alexandria a center of learning for many centuries.