He was trying to set an IED at the site of a presidential campaign rally.