He returns to the chapel a third time, drunk, but still remembers to draw the sacred circle before beginning the prayers. The girl sits up on the coffin and begins to curse him, causing him to have visions of walking skeletons and grasping, ghostly hands. She summons various hideous, demonic figures to torment him, but they cannot get past the sacred circle either. She finally calls on Viy, a name which causes all the demons to tremble in fear. A large monster emerges, and orders his huge eyelids to be moved from his eyes. Khoma realizes he cannot look this demon in the eye or he is lost. Viy is able to see Khoma, which allows the other demons to pounce on him and beat him, but when the rooster crows once more, the demons all flee away, leaving Khoma motionless on the floor. The girl turns back into the old woman and lies down in the coffin, which instantly falls apart. The Rector enters the chapel to this scene, and races off to tell the others.