Daniel prayed and studied the Scriptures, acknowledging his and his people's sins. God sent Gabriel to explain the vision Daniel had about the 2,300 days and the desolate sanctuary. Gabriel revealed a prophetic calendar involving 70 weeks that were cut off from the longer 2,300 day period. The 70 weeks involved important events like the rebuilding of Jerusalem, the anointing of the Messiah, and the spreading of the gospel to the Gentiles. The vision indicated the sanctuary would be cleansed after the full 2,300 days, pointing to the cleansing of the heavenly sanctuary in 1844.