Oxyrhynchus (; , ; ancient Egyptian Pr-Medjed; ) is a city in Middle Egypt located about 160 km south-southwest of Cairo in Minya Governorate. It is also an archaeological site, considered one of the most important ever discovered. Since the late 19th century, the area around Oxyrhynchus has been excavated almost continually, yielding an enormous collection of papyrus texts dating from the Ptolemaic Kingdom and Roman Egypt. They also include a few vellum manuscripts, and more recent Arabic manuscripts on paper (for example, the medieval P. Oxy. VI 1006) History Ancient Egyptian Era Oxyrhynchus lies west of the main course of the Nile on the Bahr Yussef, a branch that terminates in Lake Moeris and the Faiyum oasis. In ancient Egyptian times, there was a city on the site called Per-Medjed, named after the medjed, a species of elephantfish of the Nile worshipped there as the fish that ate the penis of Osiris. It was the capital of the 19th Upper Egyptian Nome. Ptolemaic Era After the conquest of Egypt by Alexander the Great in 332 BC, the city was reestablished as a Hellenistic town called Oxyrrhynchoupolis (). In the Hellenistic period, Oxyrhynchus was a prosperous regional capital, the third-largest city in Egypt. After Egypt was Christianized, it became famous for its many churches and monasteries. Roman Era Oxyrhynchus remained a prominent, though gradually declining, town in the Roman and Byzantine periods. From 619 to 629, during the brief period of Sasanian Egypt, three Greek papyri from Oxyrhynchus include references to large sums of gold that were to be sent to the emperor. Arab Era During the era of Rashidun Caliphate, the town of Oxyrhinchus was invaded and conquered by Rashidun army under the leadership of Khalid ibn al-Walid. At first, the Rashidun sent emissary of Al-Mughira to negotiate with the garrison commander of the city named Batlus, however, as the negotiation ended badly, the Rashidun forces then sent their troops to attack Bahnasa. At that point, the town's name was changed to Al-Bahnasa. The town subsequently contained a cemetery of 5,000 companions of the Islamic prophet Muhammad who had participated in the conquest of Oxyrhynchus. After the Muslim conquest of Egypt in 641, the canal system on which the town depended fell into disrepair, and Oxyrhynchus was abandoned. Today the town of el Bahnasa occupies part of the ancient site. The Arabs called the city as "Al-Baqi' of Egypt",