Shia LaBeouf has pulled out of 'Rock The Kasbah'.
The actor will no longer be appearing in Barry Levinson's all-star comedy, in which he was due to play one half of a military duo, with sources telling The Hollywood Reporter it was an ''amicable parting''.
The movie stars Bill Murray, Bruce Willis, Kate Hudson, Zooey Deschanel and Danny McBride in the tale of a has-been rock manager's (Murray) musical misadventures in Afghanistan.
News of LaBeouf joining the cast in January initially surprised fans since the actor had only just declared he intended to retire from acting and ''all public life'' following ''attacks against his artistic integrity''.
The star has had a difficult few months, culminating in him storming out of a 'Nymphomaniac' press conference in Berlin before arriving on the red carpet for the film's German premiere wearing a paper bag on his head that read, ''I am not famous anymore.''
He was also forced to apologise for alleged plagiarism and starred in his own silent art installation in Los Angeles.
'Rock The Kasbah' centres on Murray's character trying to get his last remaining client to perform on a USO tour entertaining troops in Afghanistan, only to end up alone and penniless in Kabul.
When he meets a young girl with a fantastic voice, he decides to mentor her through reality TV competition 'Afghan Star'.
Shia currently has no more film roles lined up, but will next be seen opposite Brad Pitt in David Ayer's World War II drama, 'Fury'.