Lawyer Saif-ul-Mulook, who fought the case of Asia Bibi convicted of blasphemy, left Pakistan on Saturday owing to threats to his life.

Saif-ul-Mulook's latest victory saw the freeing of Asia Bibi, who spent nearly a decade on death row after the Supreme Court of Pakistan overturned her sentence on Wednesday.

The decision sparked protests across the country, with major roads blocked in Lahore and Islamabad as hardliners called for the death of the judges and those who helped acquit Asia Bibi.

"In the current scenario, it's not possible for me to live in Pakistan," the 62-year-old told AFP before boarding a plane to Europe early Saturday morning.

"I need to stay alive as I still have to fight the legal battle for Asia Bibi," he said.

Yesterday, the Tehreek-e-Labaik Pakistan party (TLP), which has largely led the demonstrations, announced an end to mass protests after reaching a deal with the government.

A five-point agreement seen by AFP, signed by both parties, said the government would not object to an appeal of the verdict, filed earlier in the Supreme Court.

When asked about the Islamist outcry, Mulook said it was "unfortunate but not unexpected".

"What's painful is the response of the government. They cannot even implement an order of the country's highest court," he said, adding that "the struggle for justice must continue".

According to the agreement, which came after a failed first round of talks, legal proceedings will follow to impose a travel ban on Asia Bibi and stop her leaving the country.

"Her life would be more or less the same, either inside a prison or in solitary confinement for security fears" until a decision on the appeal, said Mulook.

"Yet another government has capitulated to the extremists who neither believe in the democracy nor the constitution," it read.

The TLP, founded in 2015, blockaded the capital Islamabad for several weeks last year calling for stricter enforcement of Pakistan's blasphemy laws.

That protest forced the resignation of the federal law minister and paved the way for the group to poll more than 2.23 million votes in the July 25 general election, in what analysts called a "surprisingly" rapid rise.