WASHINGTON: President Barack Obama condemned the deadly Taliban raid on a Pakistani school Tuesday and promised that the United States would stand by the country in its struggle against violent extremism.

“By targeting students and teachers in this heinous attack, terrorists have once again shown their depravity,” he said, after the attack on the army-run facility in Peshawar left at least 130 people dead.

“We stand with the people of Pakistan, and reiterate the commitment of the United States to support the government of Pakistan in its efforts to combat terrorism and extremism and to promote peace and stability in the region.” Most of those killed in the attack were children, officials said.

US Secretary of State John Kerry, in London to speak about a Palestinian bid at the United Nations to force Israel to withdraw from Palestinian land, said images of the attack were “gut-wrenching”.

“Mothers and fathers send their kids to school to learn and to be safe and to dream and find opportunity,” Kerry told reporters.

“Instead today they are gone, wiped away by Taliban assassins who serve a dark and almost medieval vision, the opposite of everything that those mothers and fathers wanted for their children.” Authorities regained control after more than seven hours of fighting that left the six militants dead, but explosive devices they left behind were hampering clearance efforts.—AFP