Anubis (Inpew, Yinepu, Anpu) was an ancient Egyptian god of the underworld who guided and protected the spirits of the dead. He was known as the 'Lord of the Hallowed Land' - the necropolis - and Khentamentiu, 'Foremost of the Westerners' - the Land of the Dead was thought to be to the west, where the Egyptians buried their dead. (Khentamentiu was the name of a previous canine deity who was superseded by Anubis.) The worship of Anubis was an ancient one - it was probably even older than the worship of Osiris. In the pyramid texts of Unas, his role was already very clear - he was associated with the Eye of Horus and he was already thought to be the guide of the dead in the afterlife, showing them the way to Osiris. In these text, according to E. A. Wallis Budge, it says that "Unas standeth with the Spirits, get thee onwards, Anubis, into Amenti, onwards, onwards to Osiris."