The agreement says any armed attack against one of the three states will be regarded as an attack on them all, Pakistan and Turkey said in statement.