Image copyright AFP Image caption Pakistan saw deadly protests over the film that sparked the YouTube ban in 2012

Pakistan has unblocked the video sharing site, YouTube, more than three years after it was banned for posting a video deemed insulting to Islam.

Pakistan's telecoms regulator said the ban was no longer necessary because Google, which owns YouTube, had now launched a Pakistan-specific version.

YouTube has denied claims that the authorities can filter content.

Many young Pakistanis have welcomed the lifting of the ban but some activists want details of the deal with Google.

They say there should be greater transparency of the terms agreed between Google and the government.

A Pakistan Telecommunication Authority (PTA) official confirmed to the BBC that all internet service providers had been directed to open access to YouTube.

'Thorough review'

The Pakistan Telecommunication Company Ltd posted on its Facebook page on Monday: "Welcome Back YouTube".

Pakistan's ministry of information technology said: "Google has provided an online web process through which requests for blocking access of offending material can be made by the PTA to Google directly.

"Google/YouTube will accordingly restrict access to the said offending material for users within Pakistan."

However, a YouTube spokeswoman said government requests for the removal of content would not automatically be granted.

"We have clear community guidelines, and when videos violate those rules, we remove them," she said.

"In addition, where we have launched YouTube locally and we are notified that a video is illegal in that country, we may restrict access to it after a thorough review."

She said requests by governments for content to be removed would be recorded in YouTube's Transparency Report.

Pakistan's ban on YouTube was imposed by the Supreme Court in 2012 after the US-made film Innocence of Muslims was uploaded.

The amateur-made video was condemned in the Muslim world and sparked widespread protests for its mocking portrayal of the Prophet Muhammad.

More than a dozen people died in protests in Pakistan.

Blasphemy is a crime in Pakistan and can carry the death penalty, although such a sentence has not been carried out.

Google revealed last week that it had launched local versions of YouTube for Nepal, Pakistan and Sri Lanka.