Alexandria ) is the second-largest city of Egypt, with a population of 4.1 million, extending about 32 km along the coast of the Mediterranean Sea in the north central part of the country; it is also the largest city lying directly on the Mediterranean coast. It is Egypt's largest seaport, serving approximately 80% of Egypt's imports and exports. Alexandria is also an important tourist resort. It is home to the Bibliotheca Alexandrina (the new Library of Alexandria). It is an important industrial centre because of its natural gas and oil pipelines from Suez.Alexandria was founded around a small pharaonic town c. 331 BCE by Alexander the Great. It remained Egypt's capital for nearly a thousand years, until the Muslim conquest of Egypt in CE 641, when a new capital was founded at Fustat (Fustat was later absorbed into Cairo). Alexandria was known because of its Lighthouse of Alexandria (Pharos), one of the Seven Wonders of the Ancient World; its library (the largest library in the ancient world); and the Catacombs of Kom el Shoqafa, one of the Seven Wonders of the Middle Ages. Ongoing maritime archaeology in the harbor of Alexandria, which began in 1994, is revealing details of Alexandria both before the arrival of Alexander, when a city named Rhacotis existed there, and during the Ptolemaic dynasty.From the late 19th century, Alexandria became a major centre of the international shipping industry and one of the most important trading centres in the world, both because it profited from the easy overland connection between the Mediterranean Sea and the Red Sea, and the lucrative trade in Egyptian cotton.