Pakistan and Indonesia have signed a memorandum of understanding on cooperation in fighting terrorism, and they have agreed to set up a joint working group.
Pakistani President Pervez Musharraf announced the agreement after talks with his Indonesian counterpart, Susilo Bambang Yudhoyono, in Islamabad Thursday.
Pakistani media quoted General Musharraf as saying Indonesia and Pakistan are both victims of terrorism and therefore they need to fight the menace together through increased intelligence cooperation.
The two countries have suffered waves of violence in recent years blamed on homegrown Islamic militants and extremist groups with ties to Osama bin Laden's al-Qaida terrorist network.
The Pakistani leader himself has survived assassination attempts on his life blamed on Islamic militants.
Some information for this report provided by AP and Reuters.