Pakistani President Pervez Musharraf has promised visiting Afghan counterpart Hamid Karzai that Pakistan will not allow militants to use its territory to disrupt Afghanistan's October elections.
Speaking Monday after talks in Islamabad, the Pakistani leader said the country's army is operating strongly against al-Qaida and the group is "on the run.
For his part, Mr. Karzai said the two countries will work together to fight terrorism and improve economic cooperation.
The comments came as the Pakistani military said troops killed four alleged terrorists and captured two others during a raid in the northwestern tribal region of North Waziristan.
The mountainous area is widely seen as a sanctuary for al-Qaida and Taleban fighters who carry out attacks in eastern Afghanistan and then cross the border to escape U.S.-led military operations.
Information for this report is provided by AFP and Reuters.