Pakistani security agents on Tuesday recused the son of a slain governor, abducted five years ago from the eastern city of Lahore just eight months after his father's assassination, officials said.

According to government spokesman Anwarul Haq Kakar, a joint operation by the country's intelligence agency, paramilitary forces and the counter-terrorism police found Shahbaz Taseer in the Kuchlak area near Quetta, the capital of Pakistan's restive southwestern Baluchistan province, which shares a border with Afghanistan.

The now 33-year-old Taseer was kept hostage in the room behind a local hotel, said the spokesman. Wasay Khan, spokesman of the paramilitary Frontier Corps, said Taseer was safe and well and that he will be taken to the city of Lahore to be reunited with his family.

The operation was conducted after intelligence reports that some people brought a man from across the border and kept him in Kuchlak, Khan said. He did not provide more details of the rescue operation.

Taseer was abducted in August 2011, eight month after his father, secular Gov. Salman Taseer, was assassinated in Islamabad by his guard, Mumtaz Qadri, over accusations of blasphemy. Qadri was convicted of the killing and hanged last week in a prison in the garrison city of Rawalpindi. The hanging triggered protests in several cities and tens of thousands of Pakistanis attended Qadri's funeral in Rawalpindi.

Qadri had said he killed Taseer because the governor had allegedly committed blasphemy by campaigning to change the laws and by supporting a jailed Christian woman accused of desecrating Islam's holy book, the Quran.

Pakistan's blasphemy laws allow for anyone convicted of insulting Islam or the Prophet Muhammad to be sentenced to death, though people often take the law into their own hands.

In a related development, a group affiliated with the Pakistani Taliban and calling itself Jamat-ul-Ahrar had claimed responsibility for a suicide bombing on Monday outside a courthouse in the northwestern city of Shabqadar.

The group said the bombing that killed 17 people -- according to the latest death toll reported on Tuesday -- was a revenge for the hanging of Qadri. Initially, 11 were reported slain in the explosion but the death toll rose after six of the more than 20 people who were wounded died in hospitals overnight.

The local Pakistani Taliban and allied militant groups have been waging war against the state for over a decade, killing tens of thousands of people. Jamat-ul-Ahrar described the bombing as an attack on the judiciary, which "gives verdicts against God's divine laws."

Meanwhile, Pakistan's military said Tuesday it has entered the final phase of an offensive against the militants in the tribal northwestern region. Overnight airstrikes targeted several hideouts in the town of Shawal, killing 21 militants, according to a statement by the Pakistani army.