McDonald's on Thursday said its corporate Twitter account had been hacked, after a tweet went out mocking President Trump Donald John TrumpHR McMaster says president's policy to withdraw troops from Afghanistan is 'unwise' Cast of 'Parks and Rec' reunite for virtual town hall to address Wisconsin voters Biden says Trump should step down over coronavirus response MORE on Thursday.

"Based on our investigation, we have determined that our Twitter account was hacked by an external source. We took swift action to secure it, and we apologize this tweet was sent through our corporate McDonald’s account," spokeswoman Terri Hickey said in a statement.

The company has since secured its account, McDonald's said.

Earlier Thursday, McDonald's sent out a tweet on its official Twitter account calling Trump "a disgusting excuse of a president." The post was swiftly deleted.

ADVERTISEMENT

"@realDonaldTrump You are actually a disgusting excuse of a President and we would love to have @BarackObama back, also you have tiny hands," the tweet read.

"Twitter notified us that our account was compromised. We deleted the tweet, secured our account and are now investigating this," McDonald's wrote on Twitter, roughly an hour after the original tweet was sent.