Media playback is unsupported on your device Media caption The rape and murder of six-year-old Zainab sparked outrage in Pakistan.

Pakistan has hanged a man convicted for the rape and murder of six-year-old Zainab Ansari in January.

Imran Ali, who was arrested after her body was found in a garbage dump, was executed in Lahore's Kot Lakhpat prison early on Wednesday, police said.

Zainab's father and other relatives were present.

The case, the most heinous in a string of similar child murders in the city of Kasur, had sparked outrage and protests in the country.

After he was sentenced to death for raping and murdering Zainab, Imran Ali was convicted for similar crimes against six more girls.

Zainab's father, Amin Ansari, said after the execution that he was "satisfied".

"I have seen his awe-inspiring end with my own eyes," he told reporters.

Image copyright Police handout Image caption Imran Ali, 24, was convicted for several rapes and murders

However Mr Ansari, who said that Zainab would have been seven years and two months old if she was alive, expressed regret that authorities did not televise the hanging.

Mr Ansari's earlier appeal for Ali to face a public hanging was dismissed by the Lahore High court.

#JusticeforZainab

Zainab disappeared on 4 January and her body was found five days later in a rubbish dump.

Police said there had been several similar child murders in the past two years in Kasur but her killing proved to be a tipping point.

It triggered widespread outrage, including protests complaining of police incompetence. Two people were killed in clashes.

Zainab's family said the police did not take action during the five days from when she was reported missing until her body was found. Relatives, not police, recovered CCTV footage of her last movements.

The footage, which showed a girl being led away by a man, was circulated widely on social media. The hashtag #JusticeForZainab later went viral, with many Pakistanis calling for action.

On 23 January, 24-year-old Imran Ali was arrested through a DNA match. He was sentenced to death in February for Zainab's rape and murder.

His appeals against the verdict failed and earlier this month President Arif Alvi rejected a plea for clemency.

Will anything change?

M Ilyas Khan, BBC News, Islamabad

The hanging of Zainab's killer has brought back memories of that horrible episode in January which sent shockwaves across the country and triggered widespread protests.

Without such a public reaction, and the fact that it was Zainab's family and not the police that recovered the crucial CCTV footage which would ultimately lead to the arrest of her killer, few expected the police to investigate the case seriously.

This is because child abuse attracts little attention in Pakistan even though it remains a recurrent phenomenon.

Statistics gathered by a child rights NGO, Sahil, show that as many as 2,300 cases of crimes against children were reported during the first six months of the current year alone. In 57 of these cases, children were killed after being raped.

Zainab's case is unique in the sense that it triggered a public debate on the issue. The government of the time, under public pressure, promised tough action in terms of police training and legislation.

But now that Zainab's tormentor has gone to the gallows, one is reminded of the sad reality that not much was ever done after those initial statements of intent.