Afghan President Ashraf Ghani has announced a week-long ceasefire with the Taliban to coincide with the holiday marking the end of Ramadan next week.

A statement sent from the president’s office on Thursday says the ceasefire will begin on 27 Ramadan, or June 12 in the Western calendar, and last through the Eid al-Fitr holiday, until around June 19.

The statement says the ceasefire does not include al Qaeda or the Islamic State group.

There was no immediate comment from the Taliban, who have steadily expanded their presence in recent years, capturing a number of districts across the country and carrying out near-daily attacks, mainly targeting Afghan security forces.

Mr Ghani’s statement referred to a gathering of Afghanistan’s top clerics on Monday in which they issued a decree against suicide attacks and called for peace talks.

A suicide bomber struck just outside the gathering as it was dispersing, killing at least seven people and wounding 20 in an attack claimed by the Islamic State group.

The Taliban had denounced the gathering, insisting that its jihad, or holy war, against foreign invaders was justified.

It instead urged the clerics to side with it against the “occupation”.

Afghanistan Clerics
Security on the streets of Kabul after the recent suicide attack ((Rahmat Gul/AP)

The US and Nato formally concluded their combat mission in Afghanistan in 2014, but the US still has thousands of forces based there in a support and counter-terrorism role.

The Trump administration has sent additional troops to try to change the course of America’s longest war.

The US has said it is open to an Afghan-led peace process.

The top US commander in Afghanistan, Gen John Nicholson, said last month that some elements of the Taliban are showing interest in peace talks.