Shia LaBeouf has tweeted a public apology for his actions and comments during his drunken arrest last week.

Actor Shia LaBeouf was arrested in Savannah, Georgia the morning of Saturday, July 8 for public drunkenness, obstruction and disorderly conduct.

LaBeouf was in Savannah for the filming of his latest movie, The Peanut Butter Falcon.

Authorities say that LaBeouf was belligerent. In a police officer's body cam video posted by TMZ, Shia is shown making threats and hurling vulgarities at officers as they took him into custody.

"I have rights! I'm an American. You got me in my hotel, arresting me in my hotel for doing what, sir?" LaBeouf said in the video.

The arrest very quickly turned into a tirade when LaBeouf decided to use the arrest to air racial grievances.

Yes, you read that right.

"I'm a f*cking American, I pay my taxes, get these shits off my f*cking arm. The president "doesn't give a f*ck about you, and you wanna do what? Arrest white people?"

Sadly, that was the highest this particular road got.

LaBeouf continued his rant at the police station, singling out one officer in particular, according to TMZ video.

You’re going to hell, straight to hell, bro,” LaBeouf told the officers fingerprinting him, following that up with,“You, especially, Devin.”

Why was Devin especially doomed to the fires of the underworld?

A white officer asked the actor just that.

LaBeouf had a succinct answer. “Cause he’s a black man.”

The former child star continued that line of thought by saying, "A black man arrested me for being white."

Is that even a thing?

A third TMZ video shows LaBeouf accosting a white officer, angrily informing him that his wife enjoys pornography featuring "black dick."

In his Twitter written apology, the 31-year-old former Disney Channel star explained that he has been publicly struggling with alcohol addiction for "far too long." He expressed his shame for his behavior and extended a "sincere" apology to the arresting officers.