Court History of David
The Court History of David (frequently called simply the Court History) is one of the two hypothetical main source documents of the Books of Samuel, the other being the Accession History. The text is believed to cover most of 2 Samuel, except for the first few chapters and a few more minor parts. The Court History includes several stories with a distinctly negative attitude towards King David (e.g., the story of his adultery with Bathsheba). German theologian described the history of David's family in and as a "Succession Document" aiming to justify Solomon's succession  to the throne of the United Monarchy after the death of David. American theologian James Flanagan later argued that behind this Succession Document lay an earlier work, a "Court History", which sought to legitimate David's rule over the kingdoms of Judah and Israel. Richard Elliott Friedman suggested in his book "The Hidden Book in the Bible" (1999) that the Court History and the Accession History were originally part of a single historical epic written by the Yahwist author covering the history of the Israelite world until the time of David and Solomon. Friedman's thesis in "The Hidden Book  in the Bible" is that the Yahwist author wrote many of the most familiar stories in the Hebrew Bible, including the stories of Adam and Eve, Abraham, Moses, and David, as one unified text. The Hidden Book analyses the punctuation patterns, word choice, sentence structure and allusions used in the biblical stories; and reconstructs what Friedman says is the original, foundational text at the heart of the Bible.