In total 283 magical spells, also known as utterances, were carved and the signs painted blue on the walls of the corridor, antechamber, and burial chamber of Unas' pyramid. They constitute the most complete rendition of the Pyramid Texts existing today. These spells were intended to help the king in overcoming hostile forces and powers in the Underworld and thus join with the sun god Ra, his divine father in the afterlife. By writing the texts on the walls of the pyramid internal chambers, the architects of Unas' pyramid ensured that the king would benefit from their potency even if the funerary cult was to cease.