Sometime in 1987 or 1988, Afghani met
Abdullah Azzam, a well known Palestinian cleric who was raising money from across the world to finance the
Mujahideen in the
Soviet-Afghan War. In late 1988, following the expiration of his student visa in the United States, Afghani traveled to Egypt, then Pakistan and then made his way to the city of Peshawar, near the
Durand Line. Shortly after Azzam's death in November 1989, Afghani returned to Somalia. Following the
toppling of the Somali government in 1991, Afghani and a few other Islamists founded a militant training camp in the port city of
Kismayo, which they called "Camp Khalid ibn Walid". Within three months, over a thousand men, many of them affiliated with
Al-Itihad Al-Islamiya (AIAI) had been enlisted in the camp, prompting Afghani and other jihadists to open more camps across southern Somalia. He officially became a fighter for AIAI in 1991 and fought with them in the frontlines against Ethiopian troops in the 1990s. By 1996, AIAI had effectively disintegrated into various splinter groups, following a leadership disagreement on whether the group should participate in violent and militant action. In 1998, Afghani met
Ahmed Godane, who was studying and training in Afghanistan at the time. In 2002, Godane and al-Afghani travelled to the
Somali Region of Ethiopia to start a new jihadist group. During their time there, Afghani, Godane and their fighters staged an ambush on a convoy of
khat traffickers returning from
Somaliland to
Ethiopia, resulting in the deaths of the traffickers and the seizure of approximately $1 million in the heist. Ethiopian authorities apprehended most of the assailants, but Godane and al-Afghani managed to evade capture and within a couple months were able to flee to southern Somalia, which had no functioning government at the time. By late 2002, using the wealth from the heist, Godane and Afghani began to be active in the
Islamic Courts Union in
Mogadishu. In 2005, a new training camp named 'Salahuddin Muaskar' had been established, with Godane as its leader and Afghani being a senior leader and trainer. == Al-Shabaab ==