Carter, who also visited Afghanistan and Pakistan before India said the principal threat to Pakistan is terrorism, not its neighbours. "The government of Pakistan has flirted over time with using terrorism as an instrument of state policy," Carter was quoted as saying. "It is coming to the realisation that terrorism is a boomerang, and it comes back on you when you try to use it for your own purposes."