The world’s most wanted man, Abu Bakr al-Baghdadi, avoided capture by Iraqi special forces “by minutes” after escaping through a trapdoor, it has been revealed.

The ISIS leader, who has a $33 million bounty on his head, narrowly escaped being captured by the Iraqis in 2013, according to a new documentary.

ISIS GOT MATERIAL SUPPORT FROM TWO FLORIDA MEN WHO PLEADED GUILTY, SAYS DOJ

Al-Baghdadi is said to have abandoned his fighters and gone into hiding as Iraqi forces continued to make inroads into Mosul, the caliphate the declared in the city’s central mosque in 2014.

ISIS captured large swathes of land in Iraq and Syria and al-Baghdadi’s sick ideology has inspired a number of attacks upon the western world.

ISIS FIGHTERS ESCAPING SYRIA HIDE BOMBS IN TVS, FRIDGES AND TEDDY BEARS

But things could have been very different if he was nabbed in a special forces raid four years ago, according to the documentary Abu Bakr al-Baghdadi: The Footsteps Of The Most Wanted Man In The World, The Mirror reports.

According to the documentary, made by Sofia Amara, troops from Iraq’s elite Falcon Brigade missed out on capturing the terror leader by just minutes during a raid on his safe house in Baghdad in 2013.

Much like Saddam Hussein before he was captured, al-Baghdadi was hiding out in a basement bolthole, hidden by an entrance that was disguised in a tiled floor.

By the time the soldiers discovered the hidden chamber, al-Baghdadi had escaped through the trapdoor which led to a passage under his house.

However he left behind an assortment of weapons, documents and ISIS propaganda.

Click for more from news.com.au