Ted Cruz has stunned his Twitter followers after he 'liked' a hardcore porn video.

The Texas senator appeared to 'like' the x-rated clip late on Monday, but it was redacted around 40 minutes later.

It is not known who was using the account at the time and liked the video. His aides would have likely had access to his profile.

Cruz has not yet responded to reports of the social media activity, but he was trending withing minutes.

In July of 2016, Cruz said in a GOP platform draft: 'Pornography, with its harmful effects, especially on children, has become a public health crisis that is destroying the life of millions.'

Ted Cruz has stunned his Twitter followers after he 'liked' a video of a hardcore porn

The Texas senator appeared to like the post late on Monday, according to multiple Twitter users

Ted Cruz has called pornography a public menace. The liked Twitter porn video was unliked within 40 minutes

'We encourage states to continue to fight this public menace and pledge our commitment to children's safety and well-being. We applaud the social networking sites that bar sex offenders from participation. We urge energetic prosecution of child pornography which closely linked to human trafficking.'

While Cruz was the solicitor general of the state of Texas, he helped argue in favor of banning sex toys in the Lone Star State.

The video he liked does not appear to feature any sex toys.

Ted Cruz called pornography a public health crisis in 2016 and said it is destroying the lives of millions

What will it be? Since the tweet was liked just after 9.30pm in LA, some celebrities were awake to react to the like

The account @SexuallPosts thanked the conservative senator for watching the pornographic content

Ted Cruz's tweet was up for a surprising amount of time which may be an indication that he was hacked or no one with access to the account was awake

Ted Cruz was trending within minutes of liking the pornographic video on Twitter

Ted Cruz's college roommate implied this behavior was not unusual for the Texas native

People in the UK, including Piers Morgan, were awake and able to laugh at Ted Cruz for the unfortunate like

If Cruz did like the video himself, it wouldn't be the first time he watched porn. In 2015 he watched hardcore pornography with Supreme Court justices when the court was considering regulating online porn.

He told the Washington Post: 'We were in front of a large computer screen gazing at explicit, hardcore pornography.

Cruz's college roommate Craig Mazin‏ also tweeted: 'Now imagine Ted Cruz is doing this four feet below you in the bottom bunk bed. Yes, my misery very much appreciates your company.'