Given the many instances of crooks trying to stay in office to maintain immunity, I propose a quasi-Greek solution.
Total amnesty for any and all crimes before the date of election and outlaw (hostis humani generis) for any and all crimes afterwards. It'll encourage people to be very afraid of accepting the job.