KABUL (AFP/Online) - Afghanistan and Pakistan vowed Saturday to work together in the fight against an insurgency gripping both nations, promising boosted border controls and closer co-operation on arresting terror suspects. Interior Minister Rehman Malik told a Press conference held jointly with his Afghan counterpart, Mohammad Hanif Atmar, mistakes had been made by both sides in the past in the fight against militants. But Islamabad and Kabul say they are now committed to root out insurgents on both sides of their rugged and mountainous common border where rebels are active. I would like to warn those terrorists on both sides: stop it, Malik said. Weve decided to take you on, weve decided to flush you out... youve killed so many people... throw your arms and ask for mercy from God. The Taliban, who were in government in Afghanistan between 1996 and 2001 until they were ousted by a US-led invasion, are fighting to regain control of the vast, predominantly rural country and oust foreign troops. All youre doing is anti-Islam, anti-Pakistan, anti-Afghanistan and anti-humanity... stop it, Malik said, addressing militants. The Minister called on the international community to help Pakistan and Afghanistan strengthen their security forces against insurgents. Afghan Interior Minister Hanif Atmar said: We have agreed that this is not important where the terrorists are from. Whats important is that wherever their training camps are, wherever they are being trained, financed and equipped is closed, whether its on that side of the border or this side of the border, he said. The Afghan minister said Kabul was ready to arrest Pakistani terrorists on Islamabads demands and expected the same from its neighbour. When terrorists from Afghanistan take refuge in Pakistan we would like Pakistan to arrest him, hand him over to Afghanistan so we can try him where he has killed so many people, Atmar said. Afghan officials have long claimed that senior insurgent operatives including Taliban leader Mullah Mohammad Omar are hiding in the Pakistani tribal region. Afghan and Pakistani security forces are to boost border control in the joint effort against militants, Malik said. Meanwhile, Rehman Malik has asked Afghan govt to take further steps to stop illegal infiltration of terrorists and drug smuggling from Afghanistan to Pakistan. Talking to Afghan President Hamid Karzai here on Saturday, he said that Pakistan has increased the number of troops at Pakistan border adjacent to Afghanistan and Afghan govt should take same steps to stop illegal flow of terrorists from Afghanistan to Pakistan, sources said. Pakistan efforts to eliminate terrorists, Pak-Afghan border situation, drug smuggling and illegal flow of terrorists and extremists from Afghanistan to Pakistan and matters related to mutual interest were discussed during the meeting, sources added. In capacity of special attachT of President Asif Ali Zardari, Federal Interior Minister Rehman Malik has also conveyed his special message to Afghan President Hamid Karzai. He told Afghan President Hamid Karzai that the terrorists and different banned organisations are getting income through drug smuggling therefore it should be stopped and govt of Afghanistan should take steps in this respect, sources said. Full-fledged operation Rah-e-Rast in Swat and Rah-e-Nijat in South Waziristan is underway against militants in Pakistan and collaboration of Afghan govt is also needed in this respect, he added. It may be recalled here Federal Interior Minister has asked several times that the terrorists are getting weapons from Afghanistan. Afghan President Hamid Karzai has assured complete cooperation to Pakistan against terrorism. He also lauded the Pakistans effort to eliminate terrorism and extremism, sources said.