The granite gateway of the second pylon leads into the first and secondary courts of the mortuary temple. The layout and relief drawings are almost exact replicas of the Ramesseum, which highlight the influence of Ramesses II.