Your point is excellent, however I would like to make a random point of clarification, if I may. Richard Nixon did not resign to avoid criminal prosecution. He resigned to avoid impeachment, which is different. Criminal prosecution was still very much on the table until President Ford pardoned him.