190428 imran modi
Imran Khan calls Narendra Modi on Sunday to congratulate him on his recent election victory. Image Credit: Reuters / AFP

Islamabad: The leaders of India and Pakistan spoke by phone on Sunday, their offices said, in their first conversation since before tit-for-tat air strikes in February, their worst bust-up in years.

Pakistani Prime Minister Imran Khan congratulated his counterpart Narendra Modi on his recent election victory, the two nuclear-armed arch foes said in separate statements.

Imran Khan "expressed his desire for both countries to work together for the betterment of their peoples", Pakistan's foreign ministry said.

"Reiterating his vision for peace, progress and prosperity in South Asia, the Prime Minister said he looked forward to working with Prime Minister Modi to advance these objectives," it added.

Meanwhile, Modi "stressed that creating trust and an environment free of violence and terrorism were essential for fostering cooperation for peace, progress and prosperity in our region," India's foreign ministry said.

In February a suicide bombing in Indian-administered Kashmir - divided between India and Pakistan since partition in 1947 - wasv claimed by a militant group based in Pakistan. The incident saw 40 Indian troops slain.

India and Pakistan then carried out tit-for-tat air strikes, but to the great relief of the international community the two countries retreated from the brink of further action.

The last time that Modi and Khan spoke is believed to have been when Modi congratulated his Pakistani counterpart on his election victory in July 2018.

Modi and his Hindu nationalist Bharatiya Janata Party (BJP) last week sealed a landslide election win, thanks in part to Modi talking tough about Pakistan.