Who Wrote the Book of Mormon?

Joseph Smith wrote the book of Mormon. He sort of the Moses of the Mormon religion. God spoke to him and through him he could guide others to the correct path which for him was Mormonism.