Afghan president Hamid Karzai has written letters to top political and religious leaders in Pakistan, denouncing the Taliban attack on a Pakistani teenager who is promoting girls' education and asking them to help battle extremism in both countries.
Fourteen-year-old Malala Yousufzai was shot by the Taliban on October 9 on her way home from school.
She is widely respected for being an activist for girls' education in Pakistan.
Mr Karzai's office said in a statement issued late last night that the president wrote that the attack on Malala indicated that both Afghanistan and Pakistan need to take co-ordinated steps to fight terrorism and extremism.
Mr Karzai wrote that he views the shooting, which has set off an international outcry, as an attack on Afghanistan's girls as well.
"It is a deplorable event that requires serious attention," Mr Karzai wrote.
Those upset about the shooting should not be silenced, he continued, and both Afghans and Pakistanis need to co-operate and fight with strong resolve against terrorism and extremism so that the "children of Afghanistan and Pakistan" can be saved from oppression.
Mr Karzai has been pushing Islamabad to take more action against militant groups that he says hide out in Pakistan and then cross into Afghanistan to conduct attacks on Afghan officials and security forces, and on international forces.
The letters were sent to more than a dozen political and religious leaders, including Pakistan president Asif Ali Zardari; Prime Minister Raja Pervaiz Ashraf; Nawaz Sharif, the leader of Pakistan's Muslim League Party; Qazi Hussain Ahmed, leader of the Islamist party Jamaat-e-Islami; Chaudhry Shujaat Hussain, who heads the Pakistan Muslim League-Q; and Imran Khan, a cricket star who leads the Tehreek-e-Insaf party.
Mr Khan has been especially outspoken against US drone attacks. He has argued in the past that Islamabad's alliance with Washington DC is the main reason Pakistan is facing a homegrown Taliban insurgency and that militant activity in Pakistan's tribal areas will dissipate when US troops withdraw from Afghanistan.