Daniel knew that the 70 years of captivity were about to end and prayed:
Daniel 9
1In the first year of Darius son of Xerxesa (a Mede by descent), who was made ruler over the Babylonian kingdom— 2in the first year of his reign, I, Daniel, understood from the Scriptures, according to the word...