An Indian court has sentenced five suspected Islamic militants to death and given seven others life in prison for bombing attacks nine years ago on seven Mumbai commuter trains that killed 188 people and wounded more than 800.

Judge Y.D. Shinde, who convicted them early this month for murder and a criminal conspiracy to wage war against the government, announced the sentences Wednesday in Mumbai.

Seven bombs exploded during a 10-minute span during the evening rush hour in July 2006 in Mumbai, the financial and entertainment capital of India.

Prosecutors said the attack was hatched by Pakistan's Directorate of Inter-Services Intelligence and carried out by Lashkar-e-Taiba operatives with help from the Students' Islamic Movement of India, a banned militant organization. Pakistan has denied the charges.