Joseph Smith was killed by a mob while awaiting trial in Carthage, Illinois. The trial was based on his ordering the destruction of a printing press that was causing civil disorder in Nauvoo, where he was mayor.
Many newspapers have printed lies about the Mormon Church, but I believe you may be referring to the Nauvoo Expositor, which Joseph Smith (as mayor of Nauvoo) had destroyed beacuse they were causing an uproar in the town. (This was also the action for which he was jailed, and this inprisonment allowed his assasination) The Nauvoo Expositor printed only one issue. Joseph Smith, as mayor, had their printing press destroyed as punishment for disturbing the peace, and they never printed anything again. They didn't really have a reason to print anything else, as after that Joseph was dead and the Mormons moved out of the state.
Joseph Smith said that Nauvoo meant "beautiful place".
Joseph Smith was murdered in the jailhouse at Carthage, Illinois on June 27, 1844. He was being held in the jailhouse awaiting trial for ordering the destruction of a printing press for "disturbing the peace" in Nauvoo, where he was Mayor.
Joseph Smith did many things in Nauvoo. He was the mayor, he founded a temple (which was later burned by those attacking the church), he set up a school, he formed a militia, he shut down a printing press, etc.
Joseph Smith was in Carthage awaiting a legal trial. As mayor of Nauvoo, he had ordered the destruction of a printing press that was printing anti-Mormon materials. He determined that this was causing civil unrest and ordered that the press be destroyed. He was being tried to see if it was legal for him to do so.
Joseph Smith is buried in the Smith Family cemetery in Nauvoo, Illinois. He is buried next to his wife and his brother Hyrum who was killed at the same time Joseph was.
Joseph Smith
As Mayor of Nauvoo, Joseph Smith ordered the destruction of a printing press which was printing publications that caused many fights, riots, and unrest in the city. The owners of the printing press were taking him to court for violation of their first amendment rights. He was held in jail awaiting his trial supposedly for the safety of himself and his family, so that mobs would not come to his home and hurt his wife and children.
I believe you are thinking of Joseph Smith and Hyrum Smith, leaders of the Mormon church (officially called the Church of Jesus Christ of Latter-day Saints) which was based in Nauvoo. However, they were actually killed in Carthage as they were awaiting a trial.
Joseph and his brother Hyrum had left Nauvoo and crossed the Mississippi River into the Iowa territory. They stopped just after crossing the river in Montrose, Iowa. It was there that it was reported to the brothers that mobs and militia were threatening to surround and enter Nauvoo. Rather then allow the Saints to face this, Joseph asked Hyrum what they should do. With the promise by Governor Ford that they would be protected arrived, Hryum then replied to Joseph that they should return to Nauvoo and surrender themselves. Their return to Nauvoo launched the final few days of their lives, leading to the martyrdom on June 27, 1844.
Joseph Smith and his brother Hyrum were murdered while in custody at the Carthage Jail in Carthage, Illinois. Joseph and Hyrum had been charged with treason for having declared martial law and destroyed a printing press in Nauvoo, Illinois. Joseph was mayor of Nauvoo. He declared martial law and destroyed the press in an attempt to avoid a riot.The cell in which he was held was on the second floor of the jail. When the mob came up the stairs and attempted to force open the door, they shot and killed Hyrum. Joseph went to the window, looking for an escape. Another mob in the street shot up into the cell and killed him. His body fell out the window to the ground where the mob continued to shoot, stab and kick his dead body.When someone yelled: "the Mormons are coming!" The mob dispersed, and the other two inmates were spared. The bodies were conducted back to Nauvoo for burial.