Book 9
37.5
Trophonius is said to have been a son of Apollo, not of Erginus. This I am inclined to believe, as does everyone who has gone to Trophonius to inquire of his oracle. They say that these, when they grew up, proved clever at building sanctuaries for the gods and palaces for men. For they built the temple for Apollo at Delphi and the treasury for Hyrieus. One of the stones in it they made so that they could take it away from the outside. So they kept on removing something from the store. Hyrieus was dumbfounded when he saw keys and seals untampered with, while the treasure kept on getting less.
37.6
So he set over the vessels, in which were his silver and gold, snares or other contrivance, to arrest any who should enter and lay hands on the treasure. Agamedes entered and was kept fast in the trap, but Trophonius cut off his head, lest when day came his brother should be tortured, and he himself be informed of as being concerned in the crime.
37.7
The earth opened and swallowed up Trophonius at the point in the grove at Lebadeia where is what is called the pit of Agamedes, with a slab beside it. The kingdom of Orchomenus was taken by Ascalaphus and Ialmenus, said to be sons of Ares, while their mother was Astyoche, daughter of Actor, son of Azeus, son of Clymenus. Under the leadership of these the Minyans marched against Troy.