Who was excommunicated the most times? It was certainly easier back in the day, all you had to do was piss off the wrong bishop, so a medieval source is probably most likely. I’m not necessarily concerned with whether it was justified in more objective contexts. And the occurrences should be discreet, not say a string of Popes censuring the same guy for the same thing.
Starting data point: Frederick II had it happen 4 times. Does anyone beat him?
Non-Catholic examples are fine, too, but clarify if the process is very different.