Thousands of people have protested across Pakistan following the execution of the former police bodyguard who shot dead Punjab's governor.
Mumtaz Qadri was hailed as a hero by Islamists after killing Salman Taseer over his opposition to blasphemy laws in Islamabad in 2011.
His supporters took to the streets in Karachi, Lahore, Islamabad and also blocked highways into Islamabad.
However, most rallies dispersed peacefully, AFP news agency reported.
Security forces were on high alert and riot police were in place in the area around Qadri's home in Islamabad.
Demonstrators burned tyres and chanted slogans, while schools and markets in Islamabad and nearby Rawalpindi closed early over fears of violence.
Qadri's funeral will be held on Tuesday at Liaquat Bagh park in nearby Rawalpindi, where large numbers of mourners are expected.
Prison officials said he was executed at 04:30 local time (23:30 GMT) at Adiala jail in Rawalpindi, near the capital, Islamabad.
Qadri, who had trained as an elite police commando and was assigned to Taseer as his bodyguard, shot the politician at an Islamabad market in January 2011. He was sentenced to death later that year.
He claimed it was his religious duty to kill the minister, who was an outspoken critic of Pakistan's harsh blasphemy laws and supported liberal reforms.
Analysis: M Ilyas Khan, BBC News, Islamabad
Mumtaz Qadri's hanging has come as a surprise to many who thought such a move could spark a severe backlash from the religious lobby.
The hanging comes amid two recent developments that have already incensed religious groups.
In January, the Punjab government banned preaching in educational institutions by Tablighi Jamaat, a proselytising and revivalist movement. And earlier this month it enacted a law that provides for a helpline for women to report abuses by their husbands and others.
Amid this atmosphere, the move to hang Qadri indicates a growing confidence of the government in taming the street power of religious groups, which the military has long been accused of using to control politicians at home and fight its proxy wars abroad.
One reason may be the fact that most hard-line groups adhere to the Deobandi school and would be loath to lionise Qadri, an adherent of the rival Barelvi sect. But a more important reason seems to be the military's new-found willingness to curb militant groups that have a domestic agenda.
Pakistan has seen Islamist groups grow in influence in recent years and several high profile blasphemy cases.
When it came to Qadri's court case, many lawyers argued that Qadri's actions were religiously justified and refused to take part in the prosecution, chief prosecutor Saif ul Malook told the BBC.
"There was a time when nobody was ready to prosecute this accused person and it was really a challenge and I did it only to protect the rule of law," he said.
At his first court hearing Qadri was showered with rose petals by supporters. He never expressed any regret for the killing. His brother appeared to reassert that when he told the AFP news agency about his final meeting with Qadri.
"I have no regrets," Malik Abid told AFP. "We started crying, but he hugged us and chanted 'God is great,'" he added.
In May, just months after Taseer was gunned down, Pakistan's Minorities Minister Shahbaz Bhatti, the cabinet's only Christian, was shot dead by gunmen who ambushed his car.
That August, Salman Taseer's son, Shahbaz Taseer, was abducted in Lahore. His whereabouts are still unclear.
Blasphemy is an extremely sensitive issue in Pakistan and critics argue that blasphemy laws are often misused to settle personal scores and unfairly target minorities.
Who was Salman Taseer?
- The 2011 murder of Taseer, who was the governor of Punjab, was one of Pakistan's most high-profile assassinations.
- He was one of the most prominent liberal politicians in the country and a close associate of Asif Ali Zardari, who was then the president.
- Known to be an outspoken critic of the country's harsh blasphemy laws, arguing that they discriminated against religious minorities, and sought liberal reforms.
- He had called for a pardon for Asia Bibi, a Christian woman who was sentenced to death in 2010 for insulting the Prophet Muhammad.
Read more: Death of a liberal