Smokes rises from the Intercontinental Hotel after an attack in Kabul, Afghanistan, Sunday, Jan. 21, 2018. Gunmen stormed the hotel in the Afghan capital on Saturday evening, triggering a shootout with security forces, officials said. (AP Photo/Rahmat Gul)
PHOTO: Rahmat Gul/AP
Smokes rises from the Intercontinental Hotel after an attack in Kabul, Afghanistan, Sunday, Jan. 21, 2018. Gunmen stormed the hotel in the Afghan capital on Saturday evening, triggering a shootout with security forces, officials said. (AP Photo/Rahmat Gul)
Now playing
01:56
Reports: 5 killed after attackers storm hotel
This image was taken during the first drive of NASA's Perseverance rover on Mars on March 4, 2021. The team has spent the weeks since landing checking out the rover to prepare for surface operations.
PHOTO: JPL-Caltech/NASA
This image was taken during the first drive of NASA's Perseverance rover on Mars on March 4, 2021. The team has spent the weeks since landing checking out the rover to prepare for surface operations.
Now playing
02:17
NASA releases stunning new images from Mars
PHOTO: ABC's "Jimmy Kimmel Live!"
Now playing
02:09
Sacha Baron Cohen plays Covid vaccine dealer to the stars
PHOTO: CNN
Now playing
04:37
Keilar calls out Tucker Carlson's show: Partisan junk food
PHOTO: MyHeritage
Now playing
01:01
Watch old photos come to life using AI
PHOTO: CNN/Getty Images
Now playing
06:46
McEnany says she expected 'peaceful' rally on January 6. Keilar rolls the tape
Now playing
01:26
No, Tom Cruise isn't on TikTok. It's a deepfake
PHOTO: ABC's "Jimmy Kimmel Live
Now playing
02:02
Eddie Murphy, Arsenio Hall reunite in 'Coming 2 America'
PHOTO: Courtesy AirlingRatings.com
Now playing
03:06
Virgin Atlantic CEO: We support Covid vaccine passports
Now playing
01:19
Warren proposes wealth tax: 'It's time for them to pay a fair share'
Now playing
01:43
Marriott CEO: Vaccinations are 'the key' to travel recovery
(CNN) —  

Afghan special forces traded fire Sunday morning with the remaining gunmen who attacked the Intercontinental Hotel in Kabul hours earlier, Afghanistan’s TOLO news channel reported.

The gunfire intensified about 4 a.m. Sunday (6:30 p.m. Saturday ET), TOLO said.

Ambulances came to the scene during a lull in the shooting, a witness who lives near the hotel told CNN.

Security forces near the Intercontinental Hotel after the attack.
PHOTO: Massoud Hossaini/AP
Security forces near the Intercontinental Hotel after the attack.

Nasrat Rahimi, a deputy spokesman for the Ministry of Interior Affairs, earlier told CNN that Afghan special forces were trying to engage the attackers.

Two of four attackers in the hotel have been killed, Rahimi said. He said the hotel’s third floor, where the kitchen is located, had caught fire.

TOLO reported that foreign troops were also at the hotel. Lotfullah Najafizada, the head of the broadcaster said on Twitter that the last attacker was on the hotel’s top floor.

TOLO showed images of people apparently hanging off balconies, saying they were “desperate guests and staff trying to escape” from the burning hotel.

TOLO and Afghan station 1TV News later quoted an interior ministry spokesperson as saying five civilians had been killed and six injured in the attack,

One hundred people had been rescued from the hotel, 16 of them foreigners, both broadcasters said on Twitter citing the ministry. They said the operation to clear the hotel was ongoing.

The attackers had been in the kitchen, then moved to the fourth floor, an Afghan special forces commander told CNN.

Ambulance crews “are on the site, waiting for a green light to get in,” Dr. Wahid Majrooh, the country’s minister of public health, said earlier. TOLO reported some were able to take people from the hotel grounds.

The US State Department had warned this week of a possible attack in Kabul.

“Security Alert for #Kabul, #Afghanistan: reports that extremist groups may be planning an attack against hotels in Kabul, such as the Hotel Baron near Hamid Karzai Int’l Airport,” the agency said Thursday on Twitter.

Foreigners are among the hotel guests, but it wasn’t immediately known how many or their nationalities, Rahimi said.

Flames light up the sky in the 2011 attack on the Kabul hotel.
PHOTO: afp/getty images/file
Flames light up the sky in the 2011 attack on the Kabul hotel.

Hotel was attacked in 2011

In June 2011, seven Taliban fighters attacked the same hotel over several hours. In the end, all seven, along with 11 other people, were dead.

The InterContinental Hotels Group developed the hotel, which opened in 1969. But the hotel has had no association with the group since the Soviet invasion in 1979, though it continues to use the name without connection to the international company.

CNN’s Ehsan Popalzai reported from Kabul and Jason Hanna wrote from Atlanta. CNN’s Nadeem Muaddi, Steve Almasy, Mohammed Tawfeeq, Sandi Sidhu and Alla Eshchenko contributed to this report.