Daniel was praying and fasting for three weeks, seeking to hear from the Lord about his people, the Israelites. The moment Daniel decided to humble himself before the Lord and prayed to understand, God dispatched an angel to give Daniel the revelation concerning his request.