Australia has offered to help Indonesia hunt down the ringleaders of yesterday's deadly Jakarta terror attacks, believed to have been the work of extremists linked to the Islamic State group.
Seven people were killed including five terrorists and two civilians - one a Dutch national - and many more were wounded in what was the bloodiest attack in Indonesia since the Marriott Hotel bombings in 2009.
The terrorists were reportedly armed with homemade bombs, guns and grenades when they launched the attacks in the exclusive Sarinah district near the United Nations headquarters, hotels and a major shopping mall popular with Westerners and Indonesians.
Last night, the IS-linked media group Aamaaq reported that IS fighters were behind the terror. 
Police said the attacks, which appeared to be modelled on the recent Paris attacks and were probably by IS, began when either a bomb or grenade was thrown into a Starbucks cafe, seriously injuring one person and blowing the store's windows out into the street.
Video of the incident showed a man with a gun appearing to open fire at police from outside the cafe. The video also showed two men crouching outside next to a car. They appeared to detonate what was believed to be a suicide bomb.
Images show one of the men reaching for what appeared to be a backpack that was lying on the ground. Moments later a burst of orange flame and smoke engulfs the pair.
Another group of gunmen launched the second wave of their attack on a nearby police post, reportedly opening fire on officers before setting off grenades.
Photographs showed at least three bodies lying in the street with their clothing shredded. One man in civilian clothing also appeared to have a gunshot wound to the side of the head.
Another photograph showed a terrorist standing in the intersection waving a handgun at crowds of terrified pedestrians as they scrambled for safety.
Witnesses reported hearing up to six explosions during the chaos, which was followed by a running gun battle that seemed to last for more than half an hour as the extremists exchanged fire with police.
It is believed the gunmen retreated into a cinema complex not far from the cafe where the attack had begun.
Specialist anti-terror police stormed the building and more gunfire and another explosion was heard before officers declared the emergency over.
Indonesian police said they believed the extremists were linked to a group with direct ties to Syria that was rounded up during raids just days before Christmas.
It is believed that group had been planning to target Westerners in attacks on New Year's Eve. Australian agencies worked with Indonesia to foil those attacks.
Attorney-General George Brandis last night confirmed he had been in direct contact with his Indonesian counterpart to offer Australia's support again.
Indonesian President Joko Widodo vowed to bring to justice all those responsible for the latest violence.
"This act is clearly aimed at disturbing public order and spreading terror among people," he said. "The state, the nation and the people should not be afraid of, and be defeated by, such terror acts."