Actor Shia LaBeouf to arresting officer in Texas: "Do whatever the (expletive) you gotta do!"

Shia LaBeouf was arrested on a misdemeanor public intoxication charge on Friday, October 9, 2015 and booked in the Travis County Jail in Austin, Texas. Shia LaBeouf was arrested on a misdemeanor public intoxication charge on Friday, October 9, 2015 and booked in the Travis County Jail in Austin, Texas. Photo: Travis County Sheriff's Department Photo: Travis County Sheriff's Department Image 1 of / 1 Caption Close Actor Shia LaBeouf to arresting officer in Texas: "Do whatever the (expletive) you gotta do!" 1 / 1 Back to Gallery

Actor Shia LaBeouf told an Austin police officer to "do whatever the (expletive) you gotta do" before the officer arrested him for public intoxication Friday in Austin's famous bar district, according to an arrest affidavit.

The officer stopped LaBeouf, 29, and two women around 7:30 p.m. Friday after they crossed into oncoming traffic at the intersection of East Sixth Street and San Jacinto Boulevard, the affidavit said.

LaBeouf — who recently starred in the films "Fury" and "Nymphomaniac" — raised his hand to the line of cars in the intersection, indicating that he wanted them to stop, according to police.

When the officer activated his overhead lights, LaBeouf "raised his hands waist high" before taking several steps away from the officer and the women as the officer exited his patrol car. The officer then order the actor to stop, according to the affidavit.

Shia Labeouf just got arrested outside my bar lol pic.twitter.com/mYFoWx05Hf — Kelsie Nugent (@kelsie_rae) October 10, 2015

The officer noted "a strong odor of an alcoholic beverage...emanating from LaBeouf" and that the 29-year-old actor's speech was "slurred and thick tongued and his eyes were glassy and dilated."

RELATED: Actor Manu Bennett, in San Antonio for Comic Con, allegedly punched man in face at party

LaBeouf told the officer he normally walks away from Los Angeles police officers because police "had killed a friend of his," the affidavit reads.

The "Transformers" star then "became increasingly confrontational, aggravated, profane and verbally aggressive with [the officer] through the stop, calling him a 'silly man' three times," according to the affidavit.

LaBeouf then reacted in a hostile way toward a man who had stopped to film the incident by "puffing his chest and walking in an aggressive and threatening manner" at him.

The officer stopped LaBeouf from "potentially assaulting the stranger," the affidavit says.

RELATED: Police officer pulls into North Texas doughnut shop just before robbery occurs

LaBeouf then began to "bow up or puff his chest" and stare intently at the officer within two feet of the officer's face, telling the officer that he was a member of the National Guard and telling the officer to "do whatever the (expletive) you gotta do!"

The Huffington Post reported that LaBeouf embedded himself with a National Guard unit to prepare for his role in the 2014 movie "Fury."

The officer determined that LaBeouf "was a danger to himself and others" when he allegedly walked into oncoming traffic and became aggressive toward bystanders and the officer.

LaBeouf was arrested and charged with public intoxication, a Class C misdemeanor. The actor was booked into Travis County Jail but was later released.

The actor, active on social media, tweeted for the first time since his arrest on Monday, saying only, "bombs away (sic)."

jfechter@mySA.com

Twitter: @JFreports