Afghan President Ashraf Ghani on Thursday announced a ceasefire with Taliban insurgents until June 20, coinciding with the end of the Islamic fasting season, but said fighting against other militant groups, such as Islamic State, would continue.
The Taliban are seeking to reimpose strict Islamic law after their ouster in 2001 at the hands of US-led troops.
"This ceasefire is an opportunity for Taliban to introspect (sic) that their violent campaign is not winning them hearts and minds but further alienating," Ghani said in a message on social network Twitter after a televised address.
"With the ceasefire announcement we epitomize the strength of the Afghan government and the will of the people for a peaceful resolution to the Afghan conflict."
Ghani in February offered recognition of the Taliban as a legitimate political group in a proposed political process that he said could lead to talks to end more than 16 years of war.
Ghani proposed a ceasefire and a release of prisoners among a range of options including new elections involving the militants, and a constitutional review in a pact with the Taliban to end a conflict that last year alone killed or wounded more than 10,000 Afghan civilians.