WASHINGTON: Rival Afghans will meet starting July 7 in Qatarinfo-icon, officials said, in a fresh attempt to make political headway as the United Statesinfo-icon seeks a peace deal with the Taliban within three months.

President Donald Trumpinfo-icon said in an interviewinfo-icon broadcast Monday that he wants to withdraw USinfo-icon forces from Afghanistaninfo-icon, but will leave a strong intelligence presence in the country to counter what he termed the "Harvard of terrorists."

The Taliban have refused to negotiate with President Ashraf Ghani, and a previous attempt to bring the insurgents together with government officials in Dohainfo-icon collapsed in April in a dispute over attendees.

Germanyinfo-icon, a key player in international support for the post-Taliban government, and Qatar, which maintains contacts with the militants, said that they jointly extended invitations for dialogue in Doha on Sunday and Monday.

The Afghans "will participate only in their personal capacity and on an equal footing," Markus Potzel, Germany's special representative for Afghanistan and Pakistaninfo-icon, said in a statement released Monday by the US.

"Afghanistan stands at a critical moment of opportunity for progress towards peace," he said.

"An essential component of any process leading to this objective will be direct engagement between Afghans," he said.

The meeting comes after US Secretary of State Mike Pompeo paid a previously unannounced visit last week to Kabul where he voiced hope for a peace deal with the Taliban "before September 1."

The ambitious timeframe would allow a deal before Afghanistan holds electionsinfo-icon in September, which Western officials fear could inject a new dose of instability.

Trump wants to pull all US troops from Afghanistan, believing that Americainfo-icon's longest warinfo-icon - launched after the September 11, 2001 attacks - no longer makes military or financial sense.

But he said the US will "be leaving very strong intelligence, far more than you would normally think," in an interview with the Fox New Channel's "Tucker Carlson Tonight."

"It just seems to be a lab for terrorists... I call it the Harvard of terrorists," Trump said.

The Taliban have refused to halt their violence, believing that they have an upper hand as the US is eager to leave.

On Monday, at least six people were killed and dozens wounded - including 50 children - after the Taliban targeted the defence ministry with a powerful bomb.

Gunmen then stormed a nearby building, triggering a gun battle with special forces. Most of the injured children were hurt by flying glass, officials said.

Save the Children branded the attack "utterly deplorable," warning that "children's smaller bodies sustain more serious injuries than adults" and that the trauma of such attacks can stay with them for years.

The US has nonetheless not interrupted its seventh round of talks with the Taliban in Doha that started on Saturday.

"Once the timeline for the withdrawal of foreign forces is set in the presence of international observers, then we will begin the talks to the Afghan sides, but we will not talk to the Kabul administration as a government," Spokesperson of the Taliban's office in Qatar Suhail Shaheen tweeted.

Under a peace deal, the US plans to pull its roughly 14,000 troops from Afghanistan.

In return, the Taliban would provide assurances that they will never allow their territory to be a base for foreign attacks - the primary reason for the US invasion nearly 18 years ago.

Zalmay Khalilzad, the US negotiator with the Taliban, said that dialogue among Afghans was an essential part of a peace deal.

"Mutual acceptance, seeking consensus, and agreeing to resolve political differences without force is what is needed to learn from the tragedy of the last 40 years," Khalilzad said, referring to Afghanistan's nearly incessant conflictinfo-icon since the Soviet invasion in 1979.

"I wish participants success," he tweeted.