Correct me if I'm missing something, but isn't it true that the only times the subject of presidential immunity has come up are when Nixon broke the law and wanted to dodge prosecution, and when Trump broke the law and wants to dodge prosecution?

Both due to efforts to subvert an election?