When and why did Utah settle?

after the lds (Mormons) people were run out of Nauvo they all walked all the way from Illinois to Utah. eventually all the lds people migrated there and soon there was enough people to make Utah a state.