These are the remains of the enormous city wall of Necheb on the eastern bank of the Nile (500x500m long, 12m thick at the base), the sister city of Hierakonpolis, dating from the time of the first pharaonic dynasty around 3000 BC.
In the hills behind, there are tombs with beautiful wall paintings from the 18th Dynasty. In the adjacent valley, there are two more small temples.