That was resigning from a campaign, I’m talking about resigning from Political Office.
Hart was a sitting Senator from Colorado who was also running for POTUS in 1997. Here are some more examples but the GOP pols appear to somehow be way more vulnerable than the RATS to get caught by a ruthless press ...
https://en.wikipedia.org/wiki/List_of_federal_political_sex_scandals_in_the_United_States