In the Old Kingdom, Anubis was the most important god of the dead. He was replaced in that role by Osiris during the Middle Kingdom (2000–1700 BC).[22] In the Roman era, which started in 30 BC, tomb paintings depict him holding the hand of deceased persons to guide them to Osiris.[23]