One of the big themes of the fall of the Roman Republic was that many leaders faced a dilemma: stay in office or face dire legal consequences. Julius Ceasar had to make sure he held office continuously for decades or else he would have been dragged through the courts.
If you asked me 15 years ago, I would have naively said that modern governments do not have this problem. But one look at Trump or Netanyahyu and the logic is clear: do everything to stay in power, because if you fail you get life in prison.