Nauvoo was founded in 1840 when it was settled by Mormons during their westward migration. The community got at odds with other Illinois communities and the Illinois government. In 1846, Joseph Smith and his brother were arrested, and then killed by angry citizens, at the Carthage jail. Shortly thereafter, the government asked the community to move on, which it did under Brigham Young soon after dedicating their newly completed temple at Nauvoo. After the Mormons left Nauvoo, the temple was destroyed first by arson, and then by a tornado. It was recently rebuilt and dedicated in 2002.