Assassination casts grim shadow on election