(CNN) -- An Afghan ambassador-designate kidnapped by militants two years ago in northwestern Pakistan has been freed and handed back to his government, authorities said Sunday.
Abdul Khaliq Farahi had just been named Afghanistan's next ambassador to Pakistan when he was seized.
He was returned to the Afghan government in Khost on Saturday, a Khost province police chief said.
Afghan national security was transporting Farahi to Kabul on Sunday, according to Abdul Hakim Esaq Zai, the police chief.
No more information was immediately available.
Farahi was on his way home in a suburb of Peshawar when he was seized. His driver was killed in the September 2008 attack.
From CNN's Thomas Evans