The attack took place on Friday in Gulshan in Dhaka's diplomatic quarter

The ISIS gunmen took more than 30 hostages and held on for 12 hours

Two policemen were gunned down when heavily-armed terrorists attacked

ISIS has hacked to death 20 foreigners during a terrorist attack on a restaurant in the Bangladeshi capital Dhaka.

A group of heavily-armed terrorists shouted 'Allahu Akbar' as they attacked the mainly foreign patrons inside the Holey Artisan Bakery in the city's diplomatic quarter.

Army Brigadier General Naim Asraf Chowdhury said: 'Most of (the hostages) were killed mercilessly by sharp weapons last night.'

Nine Italians, one American and an Indian are among the dead, it has been confirmed.

WARNING: GRAPHIC CONTENT

SCROLL DOWN FOR VIDEO

Gruesome: This is one of the images that was released by ISIS' media agency Amar, purportedly showing victims inside the Dhaka restaurant which was taken siege by Islamist militants on Friday night

Rita Katz, director of SITE Intelligence Group, told Daily Mail Online she believes the images to be authentic

An injured policeman is carried away after the attack in Dhaka on Friday night

Survivors claimed the killers cut down those who were unable to recite passages from the Koran.

On Friday night, Hasnat Karim had brought his family to celebrate his daughter's birthday.

Hasnat was too traumatised to say more than a few words about his ordeal, saying only that the hostage-takers 'did not misbehave with us'.

But he detailed to his father Rezaul how the gunmen - who were armed with automatic weapons, bombs and makeshift machetes - had split the diners into two groups.

Rezaul said: '(The foreigners) were taken to the upper floor and the Bangladeshis were kept around a table.'

He said his son told him the terrorists 'did not hit people who could recite verses from the Koran. The others were tortured'.

He added: 'The gunmen asked everyone inside to recite from the Koran. Those who recited were spared. The gunmen even gave them meals last night.'

Elite Bangladeshi commandos stormed the building after siege of more than 12 hours, freeing some 13 hostages.

Six of the terrorists were shot dead and one was arrested at the scene.

Today, soliders took up positions around the restaurant in case there were any further attacks

The Bangladeshi military positioned armoured personnel carriers on the streets to increase security

Troops took up strategic positions across Dhaka to discourage any further terrorist attacks

Armed terrorists raided the building in Dhaka's upmarket Gulshan quarter taking at least 30 hostages, most of whom were foreigners.

The terrorists were surrounded by at least 100 elite commandos for some 12 hours before the security forces recaptured the building.

Bangladeshi officials confirmed 20 civilians were killed during the attack.

Commandos recovered assault rifles, knives and crude explosive devices from the scene.

A further eight hostages managed to escape in the minutes after the attack began.

The gunmen were armed with high-powered automatic weapons, explosives and knives when they entered the Holey Artisan Bakery, which is in the capital's diplomatic zone.

The ISIS media wing has claimed responsibility for the attack which was launched on the final Friday of Ramadan, as millions of Muslims prepare to celebrate the Eid holiday.

Relatives of some of those inside the restaurant gathered at the edge of the police cordon for news

Two marksmen stood holding their high-powered Dragunov sniper rifles after last night's rescue mission

Troops boarded Armoured Personnel Carriers after rescuing 13 hostages who here being held by ISIS

Troops searching the building recovered assault rifles, knives and some improvised explosive devices

The final ten days of Ramadan are the most solemn in the Islamic calendar.

However, Bangladeshi prime minister Sheikh Hasina condemned the terrorists, one of who has been arrested alive.

She declared two days' of national mourning following the atrocity.

She said: 'Anyone who believes in religion cannot do such act. They do not have any religion, their only religion is terrorism.'

Two police officers were killed, including a local police station chief, Mohammed Salahuddin, who was earlier injured in the shoot-out.

Relatives of some of the hostages gathered outside the security cordon for news about those who were inside

Police have stormed a restaurant after being locked in a shoot-out with gunmen at a restaurant in the diplomatic quarter of the Bangladeshi capital of Dhaka, that is popular with foreigners

Casualties were evacuated from the scene in the back of army trucks and ambulance

People help an unidentified injured person after a group of gunmen attacked a restaurant popular with foreigners in a diplomatic zone of the Bangladeshi capital Dhaka

According to a local photojournalist, Mr Salahuddin was asked by his colleagues not to cross the cordon as he was not wearing a bullet-proof vest.

Just moments after he crossed the line, according to the Daily Star in Dhaka, he was shot.

A second policeman, Robiul Islam, assistant commissioner of Uttara zone Detective Branch, has also died in the shooting, top police officials confirmed.

Another 25 officers and one civilian are being treated for injuries from gunshots and shrapnel, with 10 people in a critical condition, according to hospital authorities.

ISIS has claimed responsibility for the attack, according to SITE Intelligence Group, which monitors jihadist activity.

SITE said ISIS' Amaq News Agency reported ISIS terrorists had carried out the attack.

A staff member who managed to escape said the gunmen shouted 'Allahu Akbar' as they attacked the restaurant, shooting and throwing bombs

Speaking after the raid, Lieutenant Colonel Tuhin Mohammed Masud, commander of the Rapid Action Battalion said: 'We have gunned down at least six terrorists and the main building is cleared but the operation is still going on.'

A Japanese government spokesman said that a Japanese hostage was rescued with a gunshot wound but seven others are unaccounted for.

Deputy Chief Cabinet Secretary Koichi Hagiuda said that the eight were together at the restaurant at the time of the attack.

One member of staff from the restaurant who managed to escape, Sumon Reza, told Bangladeshi newspaper The Daily Star: 'They blasted several crude bombs, causing wide-scale panic among everyone.

'I managed to flee during this confusion.'

He added: 'They came armed with pistols, swords and bombs. They shouted Allahu Akbar [God is great] before blasting the bombs.'

Victims: Police officers Mohammed Salahuddin (right) and Robiul Islam (left) have been named as the two reported fatalities in the hostage situation in Dhaka, according to local news site The Daily Star

A police officer assists an injured colleague outside the Holey Artisan Bakery cafe, currently under a hostage siege by armed gunmen

Two police officers injured earlier in the shoot-out have been confirmed dead, according to local media reports

ISIS claimed 24 people had been killed and a further 40 were wounded in the attack. Images of the carnage were distributed on social media channels with links to the jihadi terror organisation.

Bangladeshi officials have said 20 have died with a number of others in a critical condition in hospital.

Hospital staff dealing with casualties said of the 26 people they are currently treating, ten are in a critical condition with six on life support.

Victims suffered broken bones and gunshot wounds.

Members of Rapid Action Battalion (RAB) have surrounded the Spanish restaurant, as communications are believed to be underway in an attempt to save their lives of those inside

Bangladeshi security personnel stand guard after gunmen stormed a restaurant in Dhaka's high-security diplomatic district

One local police station chief, Mohammed Salahuddin, who was earlier injured in the shoot-out, has been declared dead according to a top official at Dhaka Metropolitan Police

Several foreigners have been confirmed to be among those held hostage inside the restaurant, after as many as nine gunmen 'armed with pistols, swords and bombs'

The attack is reported to have broken out at the Holey Artisan Bakery in the upmarket area of Gulshan, Dhaka

The restaurant is said to be popular with foreigners, and early reports indicate that there are several among those being held hostage inside (file image inside the restaurant - no indication those pictured are involved)

A massive contingent of security guards has cordoned off the building, and it making plans to storm it with heavily-armoured vehicles

One witness, a staff member who escaped the restaurant, said the gunmen shouted 'Allahu Akbar' as they launched the attack

The shooting is reported to have started at around 4.20pm GMT – 9.20pm local time - when as many as nine gunmen stormed the popular restaurant. Pictured, officers in the Gulshan area of the city

The Holey Artisan restaurant is near the Nordic Club, where expatriates of Nordic nations gather, and the Qatar embassy