The two Books of Kings (Hebrew: ספר מלכים Sepher M'lakhim – the two books were originally one) in the Hebrew Bible present a history of ancient Israel and Judah from the death of David to the release of his successor Jehoiachin from imprisonment in Babylon, a period of some 400 years (c. 960 – c. 560 BCE). It concludes a series of books running from Joshua through Judges and Samuel, which make up the section of the Hebrew Bible called the Former Prophets; this series is also often referred to as the Deuteronomistic history, a body of writing which many scholars believe was written to provide a theological explanation for the destruction of the Jewish kingdom by Babylon in 586 BCE and a foundation for a return from exile.
David dies and Solomon comes to the throne. At the beginning of his reign he assumes God's promises to David and brings splendour to Israel and peace and prosperity to his people. The centrepiece of Solomon's reign is the building of the First Temple: the claim that this took place 480 years after the Exodus from Egypt marks it as a key event in Israel's history. At the end, however, he follows other gods and oppresses Israel.
As a consequence of Solomon's failure to stamp out the worship of gods other than Yahweh, the kingdom of David is split in two in the reign of his own son Rehoboam, who becomes the first to reign over the kingdom of Judah. The kings who follow Rehoboam in Jerusalem continue the royal line of David (i.e., they inherit the promise to David); in the north, however, dynasties follow each other in rapid succession, and the kings are uniformly bad (meaning that they fail to follow Yahweh alone). At length God brings the Assyrians to destroy the northern kingdom, leaving Judah as the sole custodian of the promise.