Dylan and Cole Sprouse are just the latest celebrities to have fallen victim to hackers. The former Disney Channel stars' Twitter accounts were hacked on Monday.

Dylan Sprouse's account (@dylansprouse) began sending unusual tweets just after noon on Monday afternoon, according to The Wrap. The hacker sent tweets to promote other Twitter accounts, @kNuBLoM and @PlugWalkerJoe, which have since been suspended, as well as some "uncharacteristically random tweets," including one which contained the ethnic slur used to describe a black or dark-skinned person.

Dylan's brother, Cole Sprouse, was also hacked around the same time. The hacker used his account to also promote other accounts and even linked to a Snapchat account that appeared to show a timeline of someone hacking both of the Sprouse brothers’ accounts.

Fortunately for the brothers, the hack didn't last long though. The tweets were deleted about an hour later and Dylan addressed the situation to his followers.

Dylan and Cole Sprouse are best known for their roles as Zack and Cody, respectively, on the hit Disney Channel show "The Suite Life of Zack & Cody."

Dylan is currently dating model Barbara Palvin. Us Weekly reported that the couple moved into a New York City apartment together earlier this year.

Cole Sprouse is currently dating his "Riverdale" co-star Lili Reinhart. He also just starred in the romantic drama "Five Feet Apart."

Dylan and Cole Sprouse
Dylan and Cole Sprouse both star in their respective projects at the moment. Pictured: Dylan and Cole Sprouse visit the Nintendo booth at the 2017 E3 Gaming Convention at Los Angeles Convention Center on June 13, 2017, in Los Angeles. Getty Images/Michael Kovac