INDIA secretly hanged the lone survivor of the Pakistan-based militant squad responsible for a rampage through Mumbai that killed 166 people, sparking celebrations days before the fourth anniversary of the assault on the financial capital.

Pakistan national Mohammad Ajmal Kasab was the enduring image of the bloody assault, which traumatised India and raised fears of copycat attacks on foreign cities. Pictures of the boyish gunman wearing a black T-shirt and toting an AK-47 rifle as he strode through Mumbai's train station were published around the world.

Kasab was executed yesterday amid great secrecy, underscoring the political sensitivity of the November 26, 2008, mas-sacre, which still casts a pall over relations between nuclear-armed rivals Pakistan and India.

"All the police officers and personnel who lost their life in the battle against the terrorists have today been served justice," Home Minister Sushil Kumar Shinde said after Kasab was hanged in a jail in Pune, south-east of Mumbai.

Kasab was charged with 86 offences, including murder and waging war against the Indian state, in a charge-sheet running to more than 11,000 pages.

It was the first time a capital sentence had been carried out in India since 2004. There was celebration on the streets of Mumbai and other cities as news of the execution spread, but militant groups in Pakistan reacted angrily, as did residents of his home village of Faridkot.

Pakistan was informed beforehand about Kasab's execution, said a Pakistani foreign ministry official who asked not to be identified.

"If all judicial procedures were followed, then the decision is acceptable," the official said.