 Siamun is cited as having built a temple dedicated to Amun, the remains of which were found by Flinders Petrie in the early 20th century, in the south of the temple of Ptah complex.According to inscriptions describing his architectural work, Sheshonk I (r. 943–922 BC), founder of the 22nd dynasty, constructed a forecourt and pylon of the temple of Ptah, a monument which he called the "Castle of Millions of Years of Sheshonk, Beloved of Amun".The funerary cult surrounding this monument, well known in the New Kingdom, was still functioning several generations after its establishment at the temple, leading some scholars to suggest that it may have contained the royal burial chamber of the pharaoh himself.