The prison was mobbed by a 'rabble of freemasons', resulting in Smith's death on 27th June 1844.
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.
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 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, Jr., the first prophet of the Church of Jesus Christ of Latter-day Saints (the "Mormon" church) was shot and killed by a mob while awaiting trial in Carthage Jail in Carthage, Illinois on the evening of June 27, 1844. His brother, Hyrum, was also shot and killed in the same attack.
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.
George Joseph Smith has written: 'Trial of George Joseph Smith' -- subject(s): Accessible book
No, he was shot himself while awaiting trial.
In Prison Awaiting Trial was created in 1971.
Joseph Smith and his brother Hyrum were murdered while awaiting trail in the jail at Carthage, Illinois. A large, armed anti-Mormon mob stormed the jail, shooting into the upstairs bedroom where a handful of Mormon leaders, including Joseph and Hyrum, were staying. The trial was regarding Joseph (as governor of Nauvoo) ordering an anti-Mormon newspaper to cease publication in order to preserve the public peace.
Lionel Ray Williams was convicted for the murder and is rumored to have confessed to it while locked up awaiting trial.
He is currently awaiting trial
The Kurdish Genocide has not been resolved. Most of those responsible for the Kurdish Genocide are either awaiting trial, were killed as a result of other charges, or killed extrajudicially.