The Indian government and security forces responded quickly to the attacks. The National Security Guard (NSG) was deployed to rescue hostages and neutralize the terrorists. The operation, codenamed "Operation Blue Star," lasted for four days, with the NSG commandos eventually killing all 10 terrorists.