Mormon describes how the Lamanites became Nephites.
The Book of Mormon: An Account Written by the Hand of Mormon, upon Plates Taken from the Plates of Nephi (Palmyra, NY: Joseph Smith Jr., 1830), 228, The Joseph Smith Papers website, accessed August 11, 2021
And it came to pass that whosoever did mingle his seed with that of the Lamanites, did bring the same curse upon his seed; therefore whomsoever suffered himself to be led away by the Lamanites, were called under that head, and there was a mark set upon him. And it came to pass that whosoever would not believe in the tradition of the Lamanites, but believed those records which were brought out of the land of Jerusalem, and also in the tradition of their fathers, which were correct, which believed in the commandments of God, and kept them, were called the Nephites, or the people of Nephi, from that time forth; and it is they which have kept the records which are true of their people, and also of the people of the Lamanites.