The movement began in western New York during the Second Great Awakening when Smith said that he received visions revealing a new sacred text, the Book of Mormon, which he published in 1830 as a complement to the Bible. Based on the teachings of this book and other revelations, Smith founded a Christian primitivist church, called the "Church of Christ". The Book of Mormon attracted hundreds of early followers, who later became known as "Mormons", "Latter Day Saints", or just "Saints". In 1831, Smith moved the church headquarters to Kirtland, Ohio, and in 1838 changed its name to the "Church of Jesus Christ of Latter Day Saints".
After the church in Ohio collapsed due to dissensions, in 1838, Smith and the body of the church moved to Missouri where they were persecuted and forced to Illinois. After Smith's death in 1844, a succession crisis led to the organization splitting into several groups. The largest of these, the LDS Church, migrated under the leadership of Brigham Young to the Great Basin (now Utah) and became most prominently known for its 19th-century practice of polygamy. The LDS Church officially renounced this practice in 1890, and gradually discontinued it, resulting in the Utah Territory becoming a U.S. state. This change resulted in the formation of a number of small sects who sought to maintain polygamy and other 19th-century Mormon doctrines and practices, now referred to as "Mormon fundamentalism".
Other groups originating within the Latter Day Saint movement followed different paths in Missouri, Illinois, Michigan, and Pennsylvania. For the most part these groups rejected plural marriage and some of Smith's later teachings. The largest of these, the Community of Christ (originally known as the "Reorganized Church of Jesus Christ of Latter Day Saints"), was formed in Illinois in 1860 by several groups uniting around Smith's son, Joseph Smith III. Most existing denominations that adhere to the teachings of Smith have some historical relationship with the movement.