The Archaic Period saw the development of the foundations of Egyptian society, including the all-important ideology of kingship. To the ancient Egyptians, the king was a godlike being, closely identified with the all-powerful god Horus. The earliest known hieroglyphic writing also dates to this period.