Chronologically Krishna is described as the eighth Avatar of Lord Vishnu. This happens in Dvapara Yuga. Then, Lord Vishnu took avatar as Buddha to help people attain liberation through knowledge and righteousness. When the first stage of the Kali Yuga begins, the varna system will deteriorate. Soon after this, the second, third, and fourth stages of the Kali Yuga begin. During the second and third portions, men will forget the name of God and no longer offer Yagna to the Devas. During the fourth portion, cannibalism will be virtually universal among the humans. To solve this problem the pious Devas will gather before Brahma for a solution. Near the end of this yuga, the Devas will then journey to Vaikunta to seek help from Lord Vishnu. Lord Vishnu will then descend to Earth to end the Kali Yuga.