News, views and top stories in your inbox. Don't miss our must-read newsletter Sign up Thank you for subscribing We have more newsletters Show me See our privacy notice Invalid Email

This chilling footage shows the inside of an ISIS courthouse where some of the world's most brutal sentences were handed out to terrified prisoners.

Defendants at the building in the Iraqi city of Fallujah were locked up in tiny, iron cages before being hauled before extremist 'judges' for trials.

Horrifically, these cramped cages were built in different shapes - so the men and women inside them were forced to either stand, kneel or curl up.

They were also positioned in the same dilapidated room, close to the court where many of the prisoners would later be sentenced to a violent death.

(Image: Ruptly) (Image: Ruptly)

The defendants, mostly 'innocent locals' and security personnel, were eventually released from their makeshift cells to be tried for their 'crimes'.

At this point, they would be dragged up to the courtroom, remarkably similar in appearance to many small US courthouses, with a judge's bench and rows of chairs.

However, unlike these other buildings, this room featured an unmistakable sign of extremism on the wall - the Islamic State's black-and-white flag.

And the 'judges' would try the defendants based on 'their own rules and laws'.

(Image: Ruptly) (Image: Ruptly)

The courthouse, discovered by Iraqi soldiers, is thought to have been used by ISIS fighters to hold and sentence their enemies as recently as June.

This is the month that the terror group was eventually driven out of Fallujah after controlling the city in Al Anbar since January 2014.

The footage of the building, released by RT Arabic, shows the now-abandoned human cages, suspected Sharia courtroom and old case documents.

It also depicts photos of former defendants and information on their proceedings.

(Image: Handout)

Standing at the site, Iraqi Army Brig, Jalil Abdulredha, told NBC: "They used to imprison locals in iron cages like animals.

"They made different shapes of cages for different positions, such as kneeling and standing. This shows the brutality of this terrorist organization."

He added of the courtroom, which used to be upmarket housing: "Most of [the defendants] were innocent locals and members of security forces."

Mr Abdulredha said prisoners may have been 'arrested' by the terror group for refusing to join their ranks or violating their laws, among other 'offences'.

It is unclear whether the cages were situated below the courtroom, or in an adjacent building.