The Karaite chronicler al-Hiti mentions David under the year 383 of the Hegira (993 CE.), and gives the titles of the following three works written by him: a commentary on Ecclesiastes; a commentary on the Pentateuch; a treatise on the fundamental principles of the Pentateuch. Of these three only a fragment of the second, comprising Leviticus and the latter half of Deuteronomy, is still extant in manuscript in the St. Petersburg Library. In this commentary, says Harkavy, David frequently attacks Saadia Gaon, whom he never calls by name, but by the appellation "hadha al-rajul" (this man).