They continued to move from place to place until they found somewhere they could practice their religion free from persecution.
Joseph Smith rejected all of it.
For religious freedom
for the Mormons I'd have to say Joseph Smith did... that is if you believe all that he said had happened to him.
In 1844 the Mormons followed Brigham Young to what would become the Utah Territory.
Joseph Smith
Religious and political persecution forced the Mormons to move from several states in the east and midwest. In Illinois, their prophet Joseph Smith was murdered due to a political disagreement and the government asked the Mormons to leave in order to preserve the public peace. At this point they decided to move to a place that was largely uninhabited so that they could practice their religion in peace.
Karma Smith Belnap has written: 'Not to worry, Mom, I'm okay' -- subject(s): Patients, Cystic fibrosis, Biography, Mormons, Religious life, Family relationships
Brigham Young did not start any religions. He was the second leader of the Church of Jesus Christ of Latter-day Saints (the "Mormon" church) which was founded by Joseph Smith, Jr. He led the Mormons from Illinois to Utah after Joseph Smith was murdered.
Mormons are about the least 'loathsome' people in the world. They also do not idolize Joseph Smith.
The Religious Freedom Restoration Act
After the Book of Mormon was found, people became angry. They martyred the Prophet Joseph Smith. Afterwards, persecution for the Mormons became worse, and they decided to move to Utah for a place to live without persecution.
Joseph Smith, who founded the Mormons, claimed to be a prophet who received revelations from God. Naturally, leaders of other faiths, who did not speak with God, felt threatened by his claims, especially when significant portions of their congregations left to join the Mormons. Mormon doctrine was appealing to many because it seemed logical, and it came with additional scriptures that shed light on otherwise confusing Biblical scriptures. The idea of new scriptures was received as a threat by religions that taught God's words were found exclusively in the Bible. Persecution against Mormons intensified as new revelations lead to their practicing polygamy, which was abhorrent to many. In response to the persecution, the Mormons formed a militia, which many feared they would use for purposes other than self-defense. Joseph Smith was killed while in prison under dubious charges. The Mormons eventually fled the United States in search of religious freedom.