Twitter CEO Jack Dorsey's account on the social network was compromised on Friday afternoon and began sending out erratic tweets.

Dorsey's account sent several tweets, including some with racial slurs and others that defended Nazi Germany, just before 4 p.m.

A Twitter spokesperson said the company was aware Dorsey's account was compromised and the company was investigating what happened. The company deleted the tweets around 4:10 p.m.

tweet

The company announced that Dorsey's account had been secured and there was no indication that its systems had been compromised in a tweet sent around 5:20 p.m.

tweet

The takeover of Dorsey's account comes soon after similar hacks of the accounts of YouTube stars James Charles and Shane Dawson. A group on the chat app Discord that refers to itself as the Chuckling Squad claimed to be behind the takeover of Dorsey's account.

WATCH: Here's how to see which apps have access to your Facebook data — and cut them off