When did the Mormons move to Salt Lake City?

After the martyrdom of Joseph Smith in Carthage Jail, the Mormons were being more and more terrorized by mobs in Illinois. During the year of 1846 Brigham Young, the new leader of the Mormons began to assemble the people to get ready to leave Nauvoo and go west. The first wagons began their trek west on February 6th, 1846, and arrived in 1847 the exact date isn't known but the city was founded on July 24th, 1847, and consisted of 148 people with 143 of them being men. For the years to come more and more people came in the following years on the trail that would come to be known as the Mormon Trail and under the direction of Brigham Young.