According to tradition, it was built for Horus Netjerikhet, better known as Djoser, a major ruler of Egypt's 3rd Dynasty, by Imhotep, Egypt's most famous architect who was subsequently deified during the New Kingdom.