The two Books of Kings, originally a single book, is the tenth of the Hebrew Bible or the eleventh and twelfth books of the Christian Old Testament. It concludes the Deuteronomistic history, a history of Israel also comprising the books of Joshua and Judges and the Book of Samuel, which biblical commentators believe was written to provide a theological explanation for the destruction of the Kingdom of Judah by Babylon in c. 586 BCE and a foundation for a return from exile. The two books of Kings present a history of ancient Israel and Judah from the death of King David to the release of Jehoiachin from imprisonment in Babylon, a period of some 400 years (c. 960 – c. 560 BCE). Scholars tend to treat the books as made up of a first edition from the late 7th century BCE and a second and final edition from the mid 6th century BCE.