"'As I looked, thrones were set in place, and the Ancient of Days took his seat. His clothing was as white as snow; the hair of his head was white like wool. His throne was flaming with fire, and its wheels were all ablaze. A river of fire was flowing, coming out from before him. Thousands upon thousands attended him; ten thousand times ten thousand stood before him. The court was seated, and the books were opened.'" NIV translation
Here, Daniel speaks of the coming judgment upon this beast as we see a description of the throne of God. This description is much like that given by the prophet Ezekiel as he attempted to describe the glory of God. The scene around the throne of God was also described by John and he told us the verdict of this court in Revelation 20.
"'Then I continued to watch because of the boastful words the horn was speaking. I kept looking until the beast was slain and its body destroyed and thrown into the blazing fire. (The other beasts had been stripped of their authority, but were allowed to live for a period of time.)'" NIV translation
Daniel continues to describe the judgment of the beast as we see the result of the trial.
"'In my vision at night I looked, and there before me was one like a son of man, coming with the clouds of heaven. He approached the Ancient of Days and was led into his presence. He was given authority, glory and sovereign power; all peoples, nations and men of every language worshiped him. His dominion is an everlasting dominion that will not pass away, and his kingdom is one that will never be destroyed.'" NIV translation
Daniel sees Jesus being given the authority to judge from the Father. This is the same type of thing that John spoke of with the Lamb and the scroll. (see Revelation 5)
"'I Daniel, was troubled in spirit, and the visions that passed through my mind disturbed me. I approached one of those standing there and asked him the true meaning of all this. So he told me and gave me the interpretation of these things: "The four great beasts are four kingdoms that will rise from the earth. But the saints of the Most High will receive the kingdom and will possess it forever - yes, for ever and ever."'" NIV translation
Daniel did not understand what all of this meant so he asked the angel. The angel assured him of the victory of the people of God. This is much the same as what John experienced and why he could say that blessed are those that read and understand the book of Revelation. Like Daniel, we can be troubled about the things that are to come or we can rest in the knowledge that god is in control and His people will reign victorious.