For books 21–32, Diodorus drew on the history of Polybius, which largely survives and can be compared against Diodorus' text, though he may also have used Philinus of Agrigentum and other lost historians. Books 32 to 38 or 39 probably had Poseidonius as their source.[21]