The “family values” Republican House Majority leader in Indiana resigned Tuesday after he managed to text his entire contacts list a video of himself in a sexually compromised position with someone other than his wife.

Now-former Representative Jud McMillin has built a political career as a social conservative, often talking about the importance of protecting “the integrity of the institution of marriage,” and cosponsoring his state’s religious freedom law.

After he realized who’d received the message, he sent a note that read, “phone was stolen in Canada and out of my control for about 24 hours. I have just been able to reactivate it under my control. Please disregard any messages you received recently. I am truly sorry for anything offensive you may have received.”

McMillin then decided to resign with a statement that read the “time is right for me to pass the torch and spend more time with my family.”