Shia LaBeouf's four-year anti-Trump exhibit has been shut down three weeks into its launch after museum officials said the installation had become a 'flashpoint for violence.'

A live webcam was mounted on the wall outside of the Museum of Moving Images in Queens, New York, last month as part of LaBeouf's 'He Will Not Divide Us' campaign against Donald Trump.

The camera began running 24/7 after Inauguration Day and was set to run until the end of the president's term.

During the first few days of Donald Trump's presidency, the actor repeated the words 'He will not divide us' into the live camera mounted on a wall outside the New York City museum

The Museum of Moving Images announced it will now shut down the installation (pictured) after it became a 'flashpoint for violence'

LaBeouf himself appeared in front of the camera throughout January and several times clashed with protesters opposing the project.

The 30-year-old actor was even arrested in January after an alleged physical altercation with a protester.

According to local reports, the protester had said something to the camera that LaBeouf did not agree with. The actor was taken to the 114th Precinct Queens.

Physical violence: During the protests last month, a man appeared on camera flashing a sign that said 'Pepe 2020,' which caused LaBeouf to try and punch him in the face

LaBeouf also tried to punch a man who was holding a 'Pepe 2020' sign in front of the camera.

Footage showed LaBeouf shouting: 'He will not divide us' in response to one protester who said: 'we must secure the existence of white people.'

Lashing out: Shia LaBeouf screamed at a man who came to his Donald Trump protest and said into a camera: 'We must secure the existence of white people' (above)

The actor (pictured on the day of his arrest) allegedly grabbed a fellow protester outside the Museum of the Moving Image in Queens, and now faces a misdemeanor assault charge

NYPD eventually had to monitor the exhibit around the clock after multiple violent incidents and 'numerous arrests' even after LeBeouf stopped appearing.

On Friday, announcing its closure, the museum said the participatory performance was 'disrupted from its original intent.'

'The installation created a serious and ongoing public safety hazard for the Museum, its visitors, staff, local residents, and businesses,' the museum said in a statement.

'While the installation began constructively, it deteriorated markedly after one of the artists was arrested on the site of the installation and ultimately necessitated this action.'