On May 28, several mercenaries invaded two mosques in Lahore, Pakistan's second-largest city, and ended up mowing down nearly 100 Ahmadis, members of a breakaway sect that was officially declared to be non-Muslim in the mid-1970s. The killing was one of the boldest and most deadly in a year of bold and deadly attacks in Pakistan. And it pointed to a frightening development in Pakistani terrorism. The militants had a typical profile for jihadists in Pakistan, having trained in North Waziristan in camps connected to the Pakistani Taliban (TTP). But it also seems likely that they were connected to local Punjabi terrorist groups. In a sign of Pakistan's increasing chaos, the groups that were formerly barricaded in the Federally Administered Tribal Areas (FATA) along the Afghanistan border are now joining forces with groups around the country -- and the result is a networked terrorism outfit with an ever-growing capacity to produce pain and mayhem.
At the center of the current frenzy are Sunni outfits such as the Punjab-based Lashkar-e-Jhangvi and Sipah-e-Sahaba Pakistan, and the Kashmir-focused Jaish-e-Mohammed and Lashkar-e-Taiba (which also keeps a headquarters in Lahore). These groups were born out of the vicious proxy war between Saudi Arabia and Iran that began in the immediate aftermath of the 1979 Iranian Revolution. Concerned that Iran's revolutionary message would inspire Shiites and weaken Sunni dominance, the Saudis, whose Wahhabi brand of Islam is virulently anti-Shiite, funded and equipped Sunni militias in Punjab tasked with intimidating and eliminating prominent Pakistani Shiites.
The Soviet invasion of Afghanistan in December 1979 extended the theater of Saudi-Iranian interests to Afghanistan and provided Pakistan's military ruler, Gen. Muhammad Zia-ul-Haq, with a golden opportunity to secure international legitimacy after his 1977 coup that deposed Zulfikar Ali Bhutto. With active support from the CIA, Zia not only turned Pakistan into the launching pad for the anti-Soviet jihad in Afghanistan, but also tasked his security establishment with finding ways to turn the tide of jihad on India for the liberation of Kashmir.
The Pakistani terrorist groups that emerged were supposed to bleed India and thus weaken its hold over Kashmir, two-thirds of which is under New Delhi's control. But while these radical organizations acted as Pakistan's unofficial pawns, often trained and funded by Pakistani intelligence, they became a source of religious radicalization, particularly in rural Pakistan, where they went to recruit young men to join the struggle.
Even after Gen. Pervez Musharraf banned most of these organizations in January 2002 in an attempt to appease both Washington and India, the damage only accelerated. The rank and file of these rabidly anti-Shiite organizations found a welcoming home in FATA, where al Qaeda and the Afghan Taliban had settled following their retreat from Afghanistan. Dozens of Pakistani tribesmen with a history of fighting in Afghanistan joined the Taliban in solidarity and eventually formed their own movement, Tehrik-e-Taliban Pakistan (TTP), the Pakistani Taliban, founded in December 2007 by Baitullah Mehsud and currently led by Hakimullah Mehsud. The unintended consequence of Musharraf's ban was to turn FATA into a lawless melting pot of violent Islamists.