been nominal and that the factions' political philosophies had differed irreconcilably. Hizbul Islam said that it welcomed "negotiations with all groups for the interest of Somalia", and added that al-Shabaab had been considerably "weakened" in recent years. Al-Qaeda Before 2012, al-Qaeda and al-Shabaab had what academic Daniel Byman calls an "on-again, off-again" relationship, though both groups praised each other online in 2008. During this early period, al-Shabaab occasionally harboured al-Qaeda leaders in Somalia, in exchange for their technical assistance. In September 2009, in a video entitled "At Your Service Osama", al-Shabaab publicly declared allegiance to al-Qaeda leader Osama bin Laden – but this reflected an "unrequited courtship", largely ignored by al-Qaeda. However, after bin Laden's death and replacement by Ayman al-Zawahiri, al-Shabaab became an official al-Qaeda affiliate in February 2012. In a fifteen-minute video message released on February 9, al-Shabaab leader Godane pledged allegiance to al-Qaeda and al-Zawahiri on behalf of al-Shabaab. Al-Zawahiri confirmed the alliance, which he said would "please the believers and disturb the disbelievers" and "support the jihadi unity against the Zio-Crusader campaign and their assistants amongst the treacherous agent rulers." The announcement was met with internal opposition among some factions of al-Shabaab . By late 2012, the groups cooperated closely in various arenas, especially indoctrination and training, both in basic infantry skills and in advanced explosives and assassination – after the merger, a corps of al-Qaeda-trained militants moved to Somalia to train members of al-Shabaab. However, al-Shabaab remained "largely independent". Similarly, although al-Shabaab has publicly exploited the al-Qaeda "brand", echoing al-Qaeda ideology in its recruitment videos, it is unclear whether the alliance has affected al-Shabaab's behaviour and aims on the ground. A 2021 statistical analysis suggests that it has not significantly affected al-Shabaab's military strategy. While an al-Shabaab commander has claimed that the group will bring jihad first to East Africa "and afterward, with God's will, to America", an analyst at the Center for Strategic and International Studies argues that the group is far more interested in establishing a fundamentalist government inside Somalia than in carrying out attacks in the West. AQAP, AQIM and Boko Haram In June 2012, General Carter Ham of the U.S. Army said that al-Shabaab, al-Qaeda in Islamic Maghreb (AQIM), and the Nigeria-based Boko Haram were attempting to coordinate their activities, including in funding, training, and explosives. In 2011, Boko Haram's first suicide bomb attack had been preceded by a public statement