The motif of "the lost tribes" first appeared in the post-biblical era, and a number of apocryphal texts subsequently elaborated upon the theme. In the 7th and 8th centuries CE the return of the lost tribes was associated[by whom?] with the concept of the coming of the messiah.[3]