MIAMI  - US prosecutors in the Guantanamo war crimes tribunals filed charges on Tuesday against a Pakistani man who grew up outside Baltimore, alleging he plotted with al Qaeda to attack US targets and assassinate former Pakistani president Pervez Musharraf. The charges against defendant Majid Shoukat Khan allege that in 2002, he donned an explosives vest and sat in a mosque in Karachi, Pakistan, where Musharraf was expected. He planned to blow himself up and kill Musharraf, but the plot was foiled when the president failed to show up, the charges said. Prosecutors allege Khan, 31, was an al Qaeda operative who reported directly to Khalid Sheikh Mohammed, the self-described mastermind of the September 11 attacks.

Khan is accused of plotting with Mohammed, better known as KSM, to blow up underground gasoline storage tanks in the United States - attacks that were apparently not carried out.

Military prosecutors also accuse him of delivering $50,000 in al Qaeda funds to a southeast Asia-based affiliate in Bangkok.

Khan is also accused of conspiring with al Qaeda operatives in Indonesia to bomb bars, cafes and nightclubs frequented by Westerners.

The charges, filed at the Pentagon, allege Khan delivered money used to fund a 2003 attack in which a suicide bomber drove a truck full of explosives into the JW Marriott Hotel in Jakarta. The explosion killed 11 people and injured scores.

Khan was charged with conspiring with al Qaeda, murder and attempted murder in violation of the laws of war, providing material support for terrorism and spying on US and Pakistani targets. He would face a maximum penalty of life in prison if convicted.

Khan, a Pakistani with legal US residence, moved with his family to the Baltimore area in 1996 and graduated from high school there three years later.

He worked for a while at his family’s gas station before travelling to Pakistan in 2002 to attend a series of family weddings and look for a wife. While there, an associate introduced him to KSM and he began to work with al Qaeda, investigators said.

Khan was captured in Pakistan in March 2003 and held in secret CIA custody for three years before being transferred in 2006 to the detention centre at the Guantanamo Bay US naval base in Cuba. He is currently held in a top-security prison at the base for “high-value” prisoners.

Prosecutors submitted the charges to a retired Navy admiral overseeing the Guantanamo trials, who must approve them before a tribunal is convened to hear the case.

Khan also received assistance from a US-trained neuroscientist, Aafia Siddiqui, who opened a post office box for him and helped him obtain travel documents, military documents indicate. Siddiqui is serving an 86-year prison sentence for her conviction in New York on charges of grabbing a gun and trying to kill US interrogators who were questioning her at a police station in Afghanistan in 2008.

Prosecutors have recommended the charges be referred to a military commission for trial, with the maximum penalty being life imprisonment.

Khan is the seventh Guantanamo detainee to be formally charged since US President Barack Obama assumed office in January 2009 and the second to be referred to a military tribunal after Saudi Abd al-Rahim al-Nashiri, the alleged mastermind of the attack on the USS Cole in October 2000.

The five other detainees, including Mohammed, have been charged with planning the September 11, 2001 attacks on New York and Washington but are still awaiting trial by a military tribunal.

In a brief statement Khan’s lawyers said they are “reviewing the charges and will represent Majid throughout this process. Majid is doing well considering these challenging circumstances.”