Afghan President Ashraf Ghani on Tuesday said he will visit Pakistan on June 27 to open a new chapter in his country's uneasy relationship with its neighbor and mend ties that are often characterized by mistrust and tit-for-tat accusations.

Ghani said he agreed to visit Pakistan's Prime Minister Imran Khan after the two leaders met last week on the sidelines of the Organization of Islamic Cooperation meeting in Saudi Arabia.

More Images
Muslim men attend Eid al-Fitr prayers during the Eid al-Fitr at the presidential palace in Kabul, Afghanistan, Tuesday, June. 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Afghan President Ashraf Ghani on Tuesday said he will visit Pakistan on June 27 to open a new chapter in his country's uneasy relationship with its neighbor and mend ties that are often characterized by mistrust and tit-for-tat accusations.

Afghan honor guard waits for President Ashraf Ghani during the Eid al-Fitr at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Kabul routinely accuses Pakistan of harboring its Taliban enemies, yet in recent months Islamabad has lent its support to U.S. efforts to broker an end to Afghanistan's long-running war. Ghani said he held out hope that years of mistrust can be replaced with a new relationship that will allow peace to flourish in the region.

Men hug each other after offering Eid al-Fitr prayers during the Eid al-Fitr at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

In his address to the nation, Ghani urged the Taliban to again mark Eid with a cease fire as they did last year, but the religious militia has already refused, saying there will be no end to fighting while U.S. and NATO troops are still in Afghanistan.

Afghan men attend Eid al-Fitr prayers at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

The explosion occurred as worshippers were leaving the mosque in Nahrin district after saying their morning Eid prayers, said Javed Bashrat, provincial chief police spokesman.

Afghan men attend Eid al-Fitr prayers at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Associated Press writer Kathy Gannon in Islamabad, Pakistan contributed to this report.

Afghanistan's President Ashraf Ghani, left, inspects the guard of honor as he prepares for Eid al-Fitr prayer at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Afghanistan's President Ashraf Ghani, left, inspects the guard of honor as he prepares for Eid al-Fitr prayer at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Afghanistan's President Ashraf Ghani arrives for a speech after offering Eid al-Fitr prayers during the Eid al-Fitr at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Afghanistan's President Ashraf Ghani arrives for a speech after offering Eid al-Fitr prayers during the Eid al-Fitr at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

"I hope the visit will be positive," Ghani said in his message to mark Eid al-Fitr, the Muslim holiday that caps the fasting month of Ramadan.

Muslim men attend Eid al-Fitr prayers during the Eid al-Fitr at the presidential palace in Kabul, Afghanistan, Tuesday, June. 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Muslim men attend Eid al-Fitr prayers during the Eid al-Fitr at the presidential palace in Kabul, Afghanistan, Tuesday, June. 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Kabul routinely accuses Pakistan of harboring its Taliban enemies, yet in recent months Islamabad has lent its support to U.S. efforts to broker an end to Afghanistan's long-running war. Ghani said he held out hope that years of mistrust can be replaced with a new relationship that will allow peace to flourish in the region.

Washington's peace envoy Zalmay Khalilzad was in Islamabad on the weekend meeting with senior officials, including Khan and the powerful army chief Qamar Javed Bajwa. Khalilzad is looking to press forward on efforts to find an end to America's longest running conflict. Pakistan has promised to aid the peace process and has so far pressed Taliban, many of whom have families living in Pakistan, into talks. Khalilzad, who has already held several rounds of talks with the religious militia will meet again with their leadership later this month in Doha, where they maintain a political office.

He will press the Taliban to hold talks with the Afghan government, which the insurgent group has continued to refuse, calling Ghani's administration a U.S. puppet.

Afghan honor guard waits for President Ashraf Ghani during the Eid al-Fitr at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Afghan honor guard waits for President Ashraf Ghani during the Eid al-Fitr at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

In his address to the nation, Ghani urged the Taliban to again mark Eid with a cease fire as they did last year, but the religious militia has already refused, saying there will be no end to fighting while U.S. and NATO troops are still in Afghanistan.

Taliban leader, Maulvi Hibatullah Akhunzada, in his Eid message to insurgents issued on Monday, again rejected a cease-fire while repeating a Taliban promise that they have no ambitions to monopolize power in a post-war Afghanistan.

Meanwhile, in northern Baghlan province, a remote-controlled mine hidden in a motorcycle parked outside a mosque exploded, killing two worshippers and wounding eight.

Men hug each other after offering Eid al-Fitr prayers during the Eid al-Fitr at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Men hug each other after offering Eid al-Fitr prayers during the Eid al-Fitr at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

The explosion occurred as worshippers were leaving the mosque in Nahrin district after saying their morning Eid prayers, said Javed Bashrat, provincial chief police spokesman.

A series of bombings in the past week have rattled the Afghan capital. On Monday, five people were killed when a bomb attached to a bus exploded, the second attack of this type in as many days.

The Islamic State affiliate operating in Afghanistan has taken responsibility for several of the attacks, and the Taliban claimed an attack against a U.S. military convoy last week that killed four Afghan civilians and slightly wounded four American service personnel.

Afghan men attend Eid al-Fitr prayers at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Afghan men attend Eid al-Fitr prayers at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Associated Press writer Kathy Gannon in Islamabad, Pakistan contributed to this report.

Afghan men attend Eid al-Fitr prayers at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Afghan men attend Eid al-Fitr prayers at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Afghanistan's President Ashraf Ghani, left, inspects the guard of honor as he prepares for Eid al-Fitr prayer at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Afghanistan's President Ashraf Ghani, left, inspects the guard of honor as he prepares for Eid al-Fitr prayer at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Afghanistan's President Ashraf Ghani arrives for a speech after offering Eid al-Fitr prayers during the Eid al-Fitr at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)

Afghanistan's President Ashraf Ghani arrives for a speech after offering Eid al-Fitr prayers during the Eid al-Fitr at the presidential palace in Kabul, Afghanistan, Tuesday, June 4, 2019. Eid al-Fitr prayer marks the end of the holy fasting month of Ramadan in Afghanistan. (AP PhotoRahmat Gul)