At noon the earth began to quake , and opened in many places , and out of the openings appeared lions , tigers , and other wild beasts , which surrounded the castle , and thousands and thousands of beasts came out of the castle following their king , the Seven-headed Serpent .