Shia LaBeouf feared he was going to die when he was taken into police custody.
The’ Transformer’ star was “worried” that he wouldn’t survive in a cell with six guys so he stripped off and started doing push-ups.
The 28-year-old was arrested for disorderly conduct in June while he watched Broadway play 'Cabaret'.
In a dramatic attempt to get out he "turned into" late rapper Tupac by frantically exercising before spitting on an officer's shoe.
He recalled: "I get to the station and I quickly realise, I'm not supposed to be here. I'm not made for this set up.
"So I'm like, 'You gotta do something. You gotta do something, man. You're gonna die in here.' So I turn into Tupac and now I'm ripping my shirt off and doing push-ups like, 'Don't mess with me dawg.' And the guy's like, 'What are you in here for?' And I'm like, 'Cabaret'.
"So then they finger print me, do the whole business, and I'm like, 'I gotta get out of this little cell with these six dudes. I'm tripping.' So I figured I'm gonna spit on this cop's shoe, that's my way out."
Speaking on 'Jimmy Kimmel Live', he added: "So I spit on his shoe and I'm looking at him, and it was [my way out]. He put a mask on me, a Hannibal mask and a lead jacket and ushered me to my private little dwelling where I sat for 25 hours and then they gave me a McDonald's egg sandwich."
Shia pleaded guilty to disorderly conduct in September but a judge ruled his plea would be dismissed and he would avoid both jail time and probation if he had treatment for another three months and stayed out of trouble for six.
Tagged in Shia LaBeouf