Angels also helped Solomon in building the Temple; though not by choice. The edifice was, according to rabbinical legend, miraculously constructed throughout, the large heavy stones rising and settling in their respective places of themselves. The general opinion of the Rabbis is that Solomon hewed the stones by means of a "shamir", a mythical worm whose mere touch cleft rocks. According to Midrash Tehillim, the shamir was brought from paradise by Solomon's eagle; but most of the rabbis state that Solomon was informed of the worm's haunts by Asmodeus. The shamir had been entrusted by the prince of the sea to the mountain rooster alone, and the rooster had sworn to guard it well, but Solomon's men found the bird's nest, and covered it with glass. When the bird returned, it used the shamir to break the glass, whereupon the men scared the bird, causing it to drop the worm, which the men could then bring to Solomon.