KABUL (Reuters) – 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 U.S. embassy warning of possible attacks on hotels in Kabul, Nasrat Rahimi, an interior ministry spokesman, said. However, officials gave no other details on casualty numbers.

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 aimed at undermining 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 up the building, battling the raiders, who appeared to have a large supply of hand grenades.

Hours after the attack began, firing appeared to ease as security forces settled in, waiting for dawn.

According to one witness, who did not want to be named, the attackers took some hotel staff and guests hostage. He said some foreigners were among the hotel guests but it was not clear what their nationality was.

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.

U.S. WARNING

An Afghan policeman keeps watch near the site of an attack on the Intercontinental Hotel in Kabul, Afghanistan January 20, 2018. REUTERS/Omar Sobhani

The attack came days after a United Nations Security Council visit to Kabul to allow senior representatives of member states to assess the situation in Afghanistan.

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.”

Slideshow (10 Images)

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 but it was not clear whether international forces took part in suppressing the attack.

“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”.

Additional reporting by Mirwais Harooni and David Brunnstrom in WASHINGTON; writing by James Mackenzie; editing by Alexander Smith