‘Outlawed terror groups have links with mainstream political parties’