Impact of Legal Issues on Election