Indian officials, accompanied at a border crossing by representatives of the Red Cross, greeted a pilot who had been freed minutes earlier by Pakistan.
"The nation is proud of your exemplary courage," Indian Prime Minister Narendra Modi wrote on Twitter on March 1 after Wing Commander Abhinandan Varthaman walked across the Wagah crossing point into Indian territory.
The handover took several hours, delayed because of procedures including a quick check of his medical condition before he was turned over to Indian officials.
An official told reporters his first words were "it is good to be back in my country."
Varthaman, sporting a black eye, was scheduled to receive another, more-detailed medical exam before taking a flight from nearby Amritsar to New Delhi for a debriefing about his captivity.
"He will be taken for a detailed medical checkup," said Air Vice Marshal RGK Kapoor.
"The officer has had to eject from a plane which would have put his body under immense strain," he added, reading from a statement.
Well-wishers had gathered along the road on the Indian side of the border, but with the delay, most had left when Varthaman finally crossed over around 9 p.m.
The release of Varthaman, whose warplane was shot down in the disputed region of Kashmir, was described as a "peace gesture" by Pakistani Prime Minister Imran Khan.
"While in captivity, he was treated with dignity and in line with international law," the Pakistani Foreign Ministry said in a statement.
Pakistan's military said its air force shot down two India Air Force jets in its airspace and captured a pilot on the ground in Pakistan-administered Kashmir on February 27.
India confirmed the loss of one of its MiG-21s and the capture of its pilot. It said it also foiled an attack by Pakistan warplanes over Kashmir and shot down one Pakistani plane. Islamabad denies any of its aircraft were shot down.
During his captivity, Varthaman was shown on Pakistani TV in his green flight suit saying he was rescued by two Pakistani military personnel after he ejected and found himself surrounded by a group of angry residents in Pakistani-controlled Kashmir.
The aerial confrontation came after India on February 26 struck what it said was a militant camp in northeastern Pakistan in retaliation for a suicide bombing that killed at least 41 Indian troops in the India-controlled part of Kashmir.
A Pakistan-based group, the Jaish-e Muhammad (JeM), claimed responsibility for the February 14 attack -- the deadliest to take place during a three-decade insurgency against Indian rule in Kashmir.
India has accused Pakistan of having a "direct hand" in the attack and providing sanctuary to the militants. Islamabad denies involvement.
India's air strikes in Pakistani territory on February 26 were the first since the Indo-Pakistan war of 1971.
Editor's Picks
Subscribe
Afghanistan/Pakistan Trending
1
Afghanistan, The Only Country Where Images Of Living Things Are Banned
2'The Taliban Likes Facebook': Why The 'Photo Ban' In Afghanistan Won't Work
3Afghan Women Not Barred From Speaking To Each Other, Says Taliban
4Turkey Deports 325 Afghan Nationals In 48 Hours
5Afghan Journalists Fear Losing 'Last Remaining' Freedoms
6Taliban To Attend UN Climate Conference For First Time
7Taliban Carries Out Sixth Public Execution Since Returning To Power
8Taliban Searches Houses In Kabul After Rocket Attack Claimed By Freedom Front
9This Afghan Family Is Surviving On Leftovers From Neighbors
10Explosion In Kabul Kills 2, Injures Several Others, Says Taliban Source
RFE/RL has been declared an "undesirable organization" by the Russian government.
If you are in Russia or the Russia-controlled parts of Ukraine and hold a Russian passport or are a stateless person residing permanently in Russia or the Russia-controlled parts of Ukraine, please note that you could face fines or imprisonment for sharing, liking, commenting on, or saving our content, or for contacting us.
To find out more, click here.