New Delhi: Indian Prime Minister Narendra Modi delivered a blunt warning to old adversary Pakistan on his first day in the job, telling his counterpart in a rare meeting that Islamabad must prevent militants on its territory from attacking India.

Despite the directness of his message, both sides said Modi’s meeting with Pakistani Prime Minister Nawaz Sharif in New Delhi was cordial and they agreed to try to restart peace talks between the nuclear-armed rivals.

They also agreed to pursue normalising trade ties, which have been held hostage to distrust between their countries after fighting three wars since independence from Britain in 1947.

After Tuesday’s 50-minute meeting between Modi and Sharif, India said the new prime minister had underlined “concerns relating to terrorism”.