Joseph Smith and legal issues