Dendera Temple complex is located about 2.5 kilometres (1.6 mi) south-east of Dendera, Egypt. It is one of the best-preserved temple complexes in Egypt. The area was used as the sixth Nome of Upper Egypt, south of Abydos.The whole complex covers some 40,000 square meters and is surrounded by a hefty mud brick enclosed wall. Dendera was a site for chapels or shrines from the beginning of history of ancient Egypt. It seems that pharaoh Pepi I (ca. 2250 BC) built on this site and evidence exists of a temple in the eighteenth dynasty (ca 1500 BC). But the earliest extant building in the compound today is the Mammisi raised by Nectanebo II – last of the native pharaohs (360–343 BC).