The account of Twitter's CEO and co-founder was hacked for a short while before being secured.
Public tweets and retweets including racial slurs and swear words were sent from Jack Dorsey's account on Friday night.
They appeared in the feed of his 4 million followers before Twitter eventually secured the account.
The tweets and retweets were deleted less than an hour after the breach.
In a statement, Twitter said the phone number connected with Dorsey's account was compromised because of a security oversight by the mobile provider.

Trump cancels US strikes on Iran, citing progress in talks
US confirms third strike on Indian-crewed tankers this week
UK defence minister Healey quits, says PM Starmer's plans fail to keep country safe
False alarm at the Pentagon triggers brief shelter-in-place order
Trump says US will hit Iran 'very hard', take control of energy infrastructure
US and Iran trade attacks for a second day, undermining shaky ceasefire
Bahrain says debris from intercepted Iranian drones injures child, damages homes
Philippines launches probe into deaths of two athletes from top basketball team
