Updated 10.30pm

Gunmen attacked Kabul's Intercontinental Hotel on Saturday, seizing hostages and exchanging gunfire with security forces as the building in the Afghan capital caught fire and residents and staff fled.

Hotel manager Ahmad Haris Nayab, who escaped unhurt, said the attackers had got into the main part of the hotel through a kitchen and people tried to get out amid bursts of gunfire.

Several people had been killed and at least six wounded in the raid, which came days after a US embassy warning of possible attacks on hotels in Kabul, Nasrat Rahimi, an interior ministry spokesman, said.

There was no immediate claim of responsibility for the latest in a long series of attacks which underlined the city's precarious situation and the ability of militants to strike blows to undermine confidence in the Western-backed government.

Officials said there were as many as four attackers and at least two of them had been killed as Afghan Special Forces cleared the first floor and moved to the second, battling the raiders, who appeared to have a large supply of hand grenades.

According to one witness, who did not want to be named, the attackers took some hotel staff and guests hostage.

The Intercontinental Hotel, located on a hilltop and heavily protected like most public buildings in Kabul, was previously attacked by Taliban fighters in 2011.

It is one of two main luxury hotels in the city and had been due to host an information technology conference on Sunday. More than 100 IT managers and engineers were on site when the attack took place, Ahmad Waheed, an official at the telecommunications ministry, said.

Afghan security force keep watch near the site of the attack.Afghan security force keep watch near the site of the attack.

US WARNING

Many details of the incident were still unclear, but Interior ministry spokesman Najib Danish said a private company had taken over security about three weeks ago.

The U.S. embassy in Kabul had issued a warning to U.S. citizens on Thursday, saying "We are aware of reports that extremist groups may be planning an attack against hotels in Kabul".

The State Department said it was monitoring the situation and was in contact with Afghan authorities to determine whether any U.S. citizens had been affected.

Captain Tom Gresback, spokesman for the NATO-led Resolute Support mission in Afghanistan said they were also watching closely. "Afghan National Defense and Security Forces are leading the response efforts. According to initial reports, no Resolute Support or (U.S. forces) members were injured in this incident," he said in an emailed statement.

Although the NATO-led Resolute Support mission says the Taliban has come under pressure after the United States increased assistance to Afghan security forces and stepped up air strikes against insurgents, security remains precarious.

As pressure on the battlefield has increased, security officials have warned that the danger of attacks on high profile targets in Kabul and other cities would increase.

After repeated attacks in Kabul, notably an incident last May in which a truck bomber killed at least 150 people outside the German embassy, security has been further tightened.

While it shares the same name, the hotel in Kabul is not part of InterContinental Hotels Group (IHG), which issued a statement in 2011 saying that "the hotel Inter-continental in Kabul is not part of IHG and has not been since 1980".

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.