Sen. Ted Cruz yukked up his porn-video “like” on Twitter, joking Tuesday that the publicity could’ve given him a boost on the campaign trail.

“Perhaps we should have done something like this during the Indiana primary,” Cruz quipped, referring to dropping out of the presidential race last year after losing the Hoosier State to Donald Trump, according to NBC News.

Cruz’s official Twitter account was caught “liking” the X-rated clip posted by @SexuallPosts on Monday. It showed a woman, vaguely resembling his wife, Heidi, watching two people have sex on a couch.

The Texas senator denied being behind the “like.”

“There are a number of people on the team that have access to the account and it appears that someone inadvertently hit the like button,” he explained. “It was a staffing issue and it was inadvertent. It was a mistake. It was not a deliberate action.”

When asked whether the person responsible would be canned, Cruz hinted at forgiveness.

“We’re dealing with it internally but it was a mistake. It was not malicious conduct,” he said.

Cruz’s spokeswoman said the “like” was deleted from his account and reported to Twitter.