Traditionally attributed to the prophet Samuel, with contributions from other authors such as Nathan and Gad.