(CNN) In the wake of a string of deadly attacks, Afghanistan's president has offered a monthlong ceasefire with the Taliban beginning Monday, if the militant group agrees to honor it.

In a series of tweets, Ghani said the ceasefire would extend "til the day of the birth of the prophet (PBUH) i.e., Milad-un-Nabi, provided that the Taliban reciprocate."

The Taliban has yet to respond to Ashraf Ghani's overture but said it would release hundreds of prisoners to celebrate the Islamic holiday of Eid al-Adha, also known as the Festival of Sacrifice.

It was in June, around a separate religious holiday, that the Afghan government called off a unilateral ceasefire with the Taliban it had timed for Eid al-Fitr, which marks the end of Ramadan.

During the three-day truce, dozens of people were killed in two suicide bombings, for which ISIS claimed responsibility. ISIS has not been a party to ceasefire talks.

Read More