WASHINGTON (AP) — Sen. Ted Cruz says an aide was responsible for the “like” that caused a pornographic post to briefly appear on Cruz’s Twitter feed overnight.

The Texas Republican and 2016 presidential candidate said Tuesday that several aides have access to the account and that one inadvertently posted the pornography.

READ MORE: Injuries Reported After Accident Involving SEPTA Trolley, CSX Train In Darby

Dogs Displaced From Irma, Harvey Up For Adoption In Gloucester County

Cruz told reporters that “it was a staffing issue and it was inadvertent. It was a mistake. It was not a deliberate action.”

“Liking” — which only people with access to a Twitter account are able to do — causes it to appear on one’s feed.

Cruz sought to make light of the episode, which gained widespread notice on the popular social media site.

READ MORE: Philadelphia Police Commissioner Danielle Outlaw Claims She's Not Resigning, Despite Rumors Saying She Might Become New York City's Top Cop

“This is not how I envisioned waking up this morning,” Cruz said. “Although I will say that if I had known that this would trend so quickly, perhaps we should have posted something like this back during the Indiana primary.”

East Coast Of U.S. Slowly Sinking Into The Ocean, Study Finds

Cruz would not say whether he’ll fire the staff aide or deny the aide access to his social media accounts, though he noted that the aide did not act maliciously.

Cruz is seeking re-election to a second term in next year’s elections.

MORE NEWS: Man Shot During Attempted Double Carjacking In Holmesburg Section, Police Say

(Copyright 2017 by The Associated Press. All Rights Reserved.)