The final two chapters of the historical narrative sees the end of Babylon as an independent kingdom and the rise of the Medes and the Persians. As a major figure in both Babylon and Persia, Daniel interprets the writing on the wall for Belshazzar and survives an attempted assassination via the lion's den.