That group is alleged to be affiliated with al-Qaida and allegedly has engaged in terrorist activities including the attempted assassination of Libyan leader Moammar Gadhafi .