SYDNEY -- A swarm of heavily armed police stormed a cafe in the heart of downtown Sydney early Tuesday, ending a siege where a gunman had been holding an unknown number of people hostage for more than 16 hours.
A police spokesman confirmed "the operation is over," but would not release any further details about the fate of the gunman or any of those who were inside.
After a flurry of loud bangs, police swooped into the Lindt Chocolat Cafe shortly after five or six hostages were seen running from the building.
After the police moved in, one weeping woman was helped out by the officers and at least two other people were wheeled out on stretchers.
The drama unfolded shortly after the gunman was identified by local media as Iranian-born Man Haron Monis, who is facing charges including sexual assault and accessory to murder in separate cases. A police official said "you wouldn't be wrong" in identifying the 50-year-old Monis as the gunman. Under department rules, officials do not identify themselves unless speaking at a formal news conference.
Monis has long been on officials' radar. Last year, he was sentenced to 300 hours of community service for writing offensive letters to families of soldiers killed in Afghanistan. He was later charged with being an accessory to the murder of his ex-wife. Earlier this year, he was charged with the sexual assault of a woman in 2002. He has been out on bail on the charges.
"This is a one-off random individual. It's not a concerted terrorism event or act. It's a damaged goods individual who's done something outrageous," his former lawyer, Manny Conditsis, told Australian Broadcasting Corp.
"His ideology is just so strong and so powerful that it clouds his vision for common sense and objectiveness," Conditsis said.
The siege began around 9:45 a.m. in Martin Place, a plaza in Sydney's financial and shopping district that is packed with holiday shoppers this time of year. Many of those inside the cafe would have been taken captive as they stopped in for their morning coffees.
Throughout the day, several people were seen with their arms in the air and hands pressed against the window of the cafe, and two people holding up a black flag with the Shahada, or Islamic declaration of faith, written on it.
The Shahada translates as "There is no god but God and Muhammad is his messenger." It is considered the first of Islam's five pillars of faith, and is similar to the Lord's Prayer in Christianity. It is pervasive throughout Islamic culture, including the green flag of Saudi Arabia. Jihadis have used the Shahada in their own black flag.
Channel 10 news said it received a video in which a hostage in the cafe had relayed the gunman's demands. The station said police requested they not broadcast it, and New South Wales state police Commissioner Andrew Scipione separately asked all media that might be contacted by the gunman to urge him instead to talk to police.
A number of Australian Muslim groups condemned the hostage-taking in a joint statement and said the flag's inscription was a "testimony of faith that has been misappropriated by misguided individuals."
In a show of solidarity, many Australians offered on Twitter to accompany people dressed in Muslim clothes who were afraid of a backlash from the cafe siege. The hashtag #IllRideWithYou was used more than 90,000 times by late Monday evening.
Seven Network television news staff watched the gunman and hostages for hours from a fourth floor window of their Sydney offices, opposite the cafe.
The gunman could be seen pacing back and forth past the cafe's windows. Reporter Chris Reason said the man carried what appeared to be a pump-action shotgun, was unshaven and wore a white shirt and a black cap.
Earlier Monday, network staff counted about 15 different faces among hostages forced up against the windows.
"The gunman seems to be sort of rotating these people through these positions on the windows with their hands and faces up against the glass," Reason said in a report from the vantage point. "One woman we've counted was there for at least two hours -- an extraordinary, agonizing time for her surely having to stand on her feet for that long."
"When we saw that rush of escapees, we could see from up here in this vantage point the gunman got extremely agitated as he realized those five had got out. He started screaming orders at the people, the hostages who remain behind," he added.
Reason later reported that staff brought food from a kitchen at the rear of the cafe and the hostages were fed.
As night set in, the lights inside the cafe were switched off. Armed police guarding the area outside fitted their helmets with green-glowing night goggles.
St. Vincent's hospital spokesman David Faktor said a male hostage was in satisfactory condition in the hospital's emergency department. He was the only one of the freed hostages to be taken to a hospital, and Scipione said he was being treated for a pre-existing condition.
Hundreds of police blanketed the city as streets were closed and offices evacuated. The public was told to stay away from Martin Place, site of the state premier's office, the Reserve Bank of Australia, and the headquarters of two of the nation's largest banks. The state parliament house is a few blocks away, and the landmark Sydney Opera House also is nearby.
"This is a very disturbing incident," Prime Minister Tony Abbott said. "It is profoundly shocking that innocent people should be held hostage by an armed person claiming political motivation."
Lindt Australia posted a message on its Facebook page thanking the public for its support.
"We are deeply concerned over this serious incident and our thoughts and prayers are with the staff and customers involved and all their friends and families," the company wrote.
Australia's government raised the country's terror warning level in September in response to the domestic threat posed by supporters of the Islamic State group. Counterterror law enforcement teams later conducted dozens of raids and made several arrests in Australia's three largest cities — Melbourne, Sydney and Brisbane. One man arrested during a series of raids in Sydney was charged with conspiring with an Islamic State leader in Syria to behead a random person in downtown Sydney.
The Islamic State group, which now holds a third of Syria and Iraq, has threatened Australia in the past. In September, Islamic State group spokesman Abu Mohammed al-Adnani issued an audio message urging so-called "lone wolf" attacks abroad, specifically mentioning Australia. Al-Adnani told Muslims to kill all "disbelievers," whether they be civilians or soldiers.
One terrorism expert said the situation appeared to be that of a "lone wolf" making his own demands, rather than an attack orchestrated by a foreign jihadist group.
"There haven't been statements from overseas linking this to extremist groups outside the country — that is quite positive," said Charles Knight, lecturer in the Department of Policing, Intelligence and Counter Terrorism at Australia's Macquarie University. "The individual or individuals involved didn't kill early, which is part of the pattern of some recent international attacks. ... It seems to be shifting more into the model of a traditional hostage situation, rather than the sort of brutal attacks we've seen overseas."
Associated Press writers Rod McGuirk in Canberra, Nick Perry in Wellington, New Zealand, Jocelyn Gecker in Bangkok, Shawn Pogatchnik in Dublin and Maamoun Youssef in Cairo contributed to this report.