The founder of the Mormons, Joseph Smith Jr., was murdered by a mob at the Carthage, Illinois jail.

Smith’s brother Hyrum was also killed. Joseph was running for president at the time and is, therefore, the first US presidential candidate to be assassinated.

Source