Indian Prime Minister Narendra Modi has made a surprise stopover in Pakistan to meet his counterpart, Nawaz Sharif, the first time an Indian premier has visited the rival nation in over a decade.
Mr Sharif hugged Mr Modi after he landed at the airport in the eastern city of Lahore before the two boarded a helicopter for Mr Sharif's nearby estate, state television showed.
A spokesman at the Pakistani Prime Minister's office said the two leaders would discuss a range of bilateral issues, including the disputed Himalayan region of Kashmir, the most contentious issue dividing the nuclear-armed rivals.
Mr Modi was on his way home after a visit to Russia. He stopped off in the Afghanistan capital Kabul earlier on Friday.
His visit is the first by an Indian prime minister to Pakistan since the 2008 Mumbai attacks in which 166 people were killed in the Indian city by militants trained in Pakistan.
After months of a freeze, India and Pakistan resumed high-level contacts with a brief conversation between Mr Sharif and Mr Modi at climate change talks in Paris late last month, part of efforts to restart a peace dialogue plagued by militant attacks and long-standing distrust.
Mr Modi, who inaugurated a new parliament complex built with Indian help in Kabul, spoke to Mr Sharif earlier on Friday to wish him well on his 66th birthday.
"Looking forward to meeting PM Nawaz Sharif in Lahore today afternoon, where I will drop by on my way back to Delhi," Mr Modi tweeted.
The two prime ministers flew to Mr Sharif's estate in Lahore named Jati Umra, after his family's ancestral home in a Punjabi village in India, Pakistan state TV said.
India's National Security Adviser Ajit Doval said the move should not be seen as a sudden shift in India's position.
Mistrust between India and Pakistan runs deep.
The two countries were born out of British colonial India in 1947, divided into Hindu-majority India and Islamic Pakistan.
Mr Modi, a Hindu nationalist, came to power in 2014, and authorised a more robust approach to Pakistan, giving security forces the licence to retaliate forcefully along their disputed border and demanding an end to insurgent attacks in Indian territory.
Indian opposition calls Modi's Pakistan visit 'utterly ridiculous'
In Afghanistan, many believe that Islamabad sponsors the Taliban insurgency to weaken the Kabul government and limit the influence of India.
Pakistan rejects the accusation but it has struggled to turn around perceptions in Afghanistan, where social media users sent out a stream of glowing commentary on Mr Modi's visit, contrasting the parliament building with the destruction wrought by Taliban suicide bombers.
Nalin Kohli, a spokesman for Mr Modi's Bharatiya Janata Party, said in New Delhi that India was ready to take two steps forward if Pakistan took one to improve ties.
The countries have fought three wars since 1947, two of them over Kashmir.
The opposition Congress Party called Mr Modi's visit irresponsible and said that nothing had happened to warrant warming of ties between the rivals. Scheduled high-level talks between the two were cancelled in August after ceasefire violations across the border.
"If the decision is not preposterous then it is utterly ridiculous," Congress leader Manish Tewari said.
Opening the parliament building in Kabul, Mr Modi pledged India's support for the Afghan Government and urged regional powers, including Pakistan, to work together to foster peace.
The building is the latest symbol of a longstanding diplomatic effort by New Delhi to cultivate links with Afghanistan.
As well as the parliament building, India is also supplying three Russian-made Mi-35 helicopters to Afghanistan's small air force, adding badly needed capacity to provide close air support to its hard-pressed security forces.
Without referring directly to Pakistan, Mr Modi said that some had seen "sinister designs in our presence" in Afghanistan.
"India is here to contribute, not to compete; to lay the foundation of the future, not light the flame of conflict," he told lawmakers in Kabul, adding that Afghanistan could never "serve the designs of others".
Mr Modi said regional support would be vital for peace in Afghanistan.
"We know that Afghanistan's success will require the cooperation and support of each of its neighbours," he said.
"And all of us in the region — India, Pakistan, Iran and others — must unite in trust and cooperation behind the common purpose and in recognition of our common destiny."