Netflix has removed from its streaming service in Saudi Arabia an episode of a comedy show critical of the kingdom.
The second episode of Patriot Act With Hasan Minhaj was removed following a legal demand, which reportedly said it violated a Saudi anti-cybercrime law.
It features Minhaj mocking the actions of Saudi officials following the murder of the journalist Jamal Khashoggi and condemning the crown prince's policies.
Netflix said it backed artistic freedom but had to "comply with local law".
Despite the move, people in Saudi Arabia can still watch the episode on the show's YouTube channel.
Hasan Minhaj: 'We need comedy now more than ever'
The Jamal Khashoggi story so far
Mohammed bin Salman, power behind the throne
Khashoggi, a prominent journalist and critic of Saudi Crown Prince Mohammed bin Salman, was killed in the Saudi consulate in Istanbul on 2 October.
Saudi officials initially insisted the 59-year-old had left the building alive. But they later acknowledged that he was murdered by a team of Saudi agents and that his body was dismembered before being disposed of elsewhere.
What did Hasan Minhaj say?
"Just a few months ago, Crown Prince Mohammed bin Salman, also known as 'MBS', was hailed as the reformer the Arab World needed. But the revelations about Khashoggi's killing have shattered that image," said Minhaj in the episode of Patriot Act removed by Netflix.
Since being named second-in-line to the throne in June 2017, Prince Mohammed has introduced a raft of headline-grabbing reforms, such as lifting the ban on women being allowed to drive and seeking to shift its economy away from oil.
But, he has also been criticised for escalating a crackdown on dissenting voices, among them a number of women's rights activists, pursuing a war in neighbouring Yemen that has caused a humanitarian catastrophe, and starting a diplomatic dispute with Qatar that has divided the Gulf Co-operation Council.
At the end of the episode, Minhaj said: "I am genuinely rooting for change in Saudi Arabia. I am rooting for the people of Saudi Arabia. There are people in Saudi Arabia fighting for true reform, but MBS is not one of them."
"And to those who continue to work with him, just know that with every deal you close you are simply helping entrench an absolute monarch under the guise of progress, because ultimately MBS is not modernising Saudi Arabia. The only thing he is modernising is Saudi dictatorship."
Why did Netflix remove the episode?
The streaming service said in a statement: "We strongly support artistic freedom worldwide and only removed this episode in Saudi Arabia after we had received a valid legal demand - and to comply with local law".
The Financial Times reported that Saudi Arabia's Communications and Information Technology Commission had warned Netflix that the episode violated the kingdom's anti-cybercrime law.