US President Barack Obama has said terrorist “safe havens” in Pakistan are unacceptable, The Hindu reported on Friday ahead of a crucial visit to India.

In an interview to India Today magazine which has been published in the upcoming issue of the weekly, the US president also said those behind the 2008 Mumbai terror attacks should be brought to justice.

“I have made it clear that even as the US works with Pakistan to meet the threat of terrorism, safe havens within Pakistan are not acceptable,” Obama said.

The US president, who will begin his three-day visit to India this Sunday, said the US has been relentless in its fight against terror.

“We have deepened our cooperation against terrorism, and we work together to prevent the spread of nuclear weapons,” he said.

Obama also said people world over were horrified by the devastating attack on over 130 children in Peshawar, an attack that had paralysed Pakistan.

Of the attack, he said it was a “painful reminder that terrorists threaten us all.”