The attempted assassination of former President Trump is the latest in a series of attacks on politicians in recent years.