Userkaf's sun temple covered an area of and was oriented to the west. It served primarily as a place of worship for the mortuary cult of Ra and was supposed to relate it to the royal funerary cult. Structurally, the sun temple and the royal mortuary complex were very similar, as they included a valley temple close to the Nile and a causeway leading up to the high temple on the desert plateau. In other ways their architectures differed. For example, the valley temple of the sun temple complex is not oriented to any cardinal point, rather pointing vaguely to Heliopolis, and the causeway is not aligned with the axis of the high temple. The Abusir Papyri, a collection of administrative documents from later in the Fifth Dynasty, indicates that the cultic activities taking place in the sun and mortuary temples were related; for instance, offerings for both cults were dispatched from the sun temple. In fact, sun temples built during this period were meant to play for Ra the same role that the pyramid played for the king. They were funerary temples for the sun god, where his renewal and rejuvenation, necessary to maintain the order of the world, could take place. Rites performed in the temple were thus primarily concerned with Ra's creator function as well as his role as father of the king. During his lifetime, the king would appoint his closest officials to the running of the temple, allowing them to benefit from the temple's income and thus ensuring their loyalty. After the pharaoh's death, the sun temple's income would be associated with the pyramid complex, supporting the royal funerary cult.