Tariq Azizuddin waves to reporters upon arriving at his home in Rawalpindi. ((Anjum Naveed/Associated Press))

Pakistan's ambassador to Afghanistan, Tariq Azizuddin, has been freed, three months after he vanished in a tribal area in Pakistan's border region.

Tearful relatives hugged Tariq Azizuddin and showered him with rose petals when he arrived at his home in the city of Rawalpindi, near Islamabad, on Saturday.

Azizuddin disappeared Feb. 11, along with his driver and bodyguard, as they drove from the Pakistani city of Peshawar toward the border.

In a video aired in April, the diplomat said the Taliban had abducted them.

Azizuddin, whose grey beard had grown long during his ordeal, told reporters that his captors twice hit him on the head with a rifle and forced him to read the videotaped statement at gunpoint. He identified the men only as Pakistani "mujahedeen," or holy warriors.

Rehman Malik, the head of Pakistan's interior ministry, said the envoy was freed Friday through a "law enforcement action" and the government had made no concessions in return.

The diplomat's brother, Tahir, said Tariq Aizizuddin had been released "somewhere" in the lawless tribal areas along the border, where Taliban and al-Qaeda militants hold sway.

Pakistan's Foreign Ministry said the ambassador's driver and bodyguard were also released and are safe.

With files from the Associated Press