Afghan men carry the dead body of a civilian at the site of a blast in Kabul, Afghanistan, September 3, 2019. REUTERS

Kabul, Afghanistan — The death toll from a late-night Taliban suicide attack in the Afghan capital rose to 16 civilians on Tuesday, with 119 people wounded, an official said. Angry Kabul residents climbed over the wall into the international compound, which has been targeted frequently, and set part of it on fire.

Thick smoke rose from the Green Village, home to several international organizations and guesthouses and often a target of attacks - a peril to nearby local residents as well.

"People were screaming and saying, 'My children are trapped in the rubble,'" one witness, Faiz Ahmad, said Tuesday. Nearby homes were shredded and the concrete blast wall, on the western side of the compound, had buckled. A large crater was left in the street.

Get Breaking News Delivered to Your Inbox

"Threshold of an agreement"

The Taliban continue such attacks even as a U.S. envoy says the militant group has reached a deal "in principle" with the U.S. on ending America's longest war, including a troop withdrawal that the Taliban already portray as their victory.

Taliban spokesman Zabihullah Mujahid told The Associated Press that "we understand that peace talks are going on ... but they must also understand that we are not weak and if we enter into talks ... we enter from a strong position."

He said the attack was a response to raids by U.S. and Afghan forces on civilians in other parts of the country. While he acknowledged there should be less harm to civilians, he said they shouldn't be living near such an important foreign compound.

The attack occurred just hours after the U.S. envoy briefed the Afghan government on an agreement "in principle" with the Taliban that would see 5,000 U.S. troops withdraw from five bases in the country within 135 days of a final deal. Between 14,000 and 13,000 troops are currently in the country.

U.S. special representative for Afghanistan, Zalmay Khalilzad (L), shakes hands with Afghanistan's Chief Executive Abdullah Abdullah in Kabul, Sept. 2, 2019. AFGHAN CHIEF EXECUTIVE OFFICE

The Green Village also was hit by a suicide car bomber in January, again as the U.S. envoy, Zalmay Khalilzad, was visiting the capital to brief the Afghan government on his negotiations with the Taliban on ending nearly 18 years of fighting.

Hours before Monday's attack, Khalilzad showed a draft deal to the Afghan president after declaring that they are "at the threshold of an agreement" following the end of the ninth round of U.S.-Taliban talks in Qatar. The agreement still needs President Donald Trump's approval.

There was no immediate comment from Khalilzad after the blast that was strongly condemned by Afghan President Ashraf Ghani.

Negotiating with the Taliban

Shaken Kabul residents question whether any agreement with the Taliban can be trusted, especially as foreign troops withdraw.

The Taliban carry out such attacks even as the militant group appears to be getting what it wants in a deal with the U.S. - a troop withdrawal. The group wants all of the some 20,000 U.S. and NATO troops out of Afghanistan immediately, while the U.S. seeks a withdrawal in phases that would depend on the Taliban meeting certain conditions such as a reduction in violence.

Last month, as the U.S. deal with the Taliban took shape, Republican Senator Lindsey Graham of South Carolina urged President Trump not to order a military withdrawal from Afghanistan, warning that a large-scale drawdown from the war-torn country could pose a grave threat to U.S. national security.

"I am concerned that the president, in his desire to get out, is going to make the same mistake that President Obama did in Iraq," Graham, one of the White House's strongest allies in Congress, said on "Face the Nation."

Graham urged Mr. Trump to keep at least 8,600 U.S. troops in the country, saying "they act as a virtual wall against ISIS and al Qaeda."

"You may get a peace deal with the Taliban, but you'll never get a peace deal with al Qaeda or ISIS. They have an intent to strike America. They just don't have the capability yet," Graham said. "If we leave and outsource our national security to the Taliban (and accept their vow) that they're gonna take care of al Qaeda and ISIS, that would be a disastrous decision."

The draft agreement that Khalilzad will present to Mr. Trump would leave about 8,000 troops in Afghanistan, but it is unclear for how long.

Attacks have surged in recent months, including Taliban assaults on two provincial capitals over the weekend, as the group seeks to strengthen its negotiating position not only with the U.S. but with the Afghan government in the even more challenging intra-Afghan talks that are meant to follow a U.S.-Taliban deal on Afghanistan's future. The Taliban have rejected talking with the government so far, dismissing it as a U.S. puppet.

Some analysts also have warned that some factions of the Taliban might be expressing displeasure with the U.S. deal, though Taliban political leaders at the talks in Qatar have insisted that their tens of thousands of fighters would respect whatever agreement is reached.

Angry Afghan protesters burn tires and shout slogans at the site of a blast in Kabul, Afghanistan, September 3, 2019. REUTERS

The militant group is at its strongest since the U.S.-led invasion to topple its government after the Sept. 11, 2001 attacks on the U.S. The Taliban now control or hold sway over roughly half of Afghanistan.

The Taliban spokesman, Mujahid, said that whenever there is a reduction of violence in Afghan cities, the government asserts that the militant group is no longer able to carry out attacks because of stronger Afghan security forces.

"They should realize that they can't stop the Taliban," Mujahid said. "Hopefully they must understand that by now."