The story of Moses leading the Israelites is found in the Book of Exodus, which is considered to be part of the Deuteronomic History. This was written down by an anonymous author now known as the Deuteronomist during the seventh-century-BCE reign of King Josiah of Judah. Although written down more or less in the form we know today by the Deuteronomist, there was undoubtedly an earlier written or oral source that the Deuteronomist relied on.